format("Y-m-d"); $prfTime = date('H:i:s'); $myDate = date_create() ->format("Y-m-d"); $activeID=$user_data['u_id']; if(isset($_POST['done'])){ $itemClassID = mysql_escape_string($_POST['itemClassID']); $NewExpenseType = mysql_escape_string($_POST['NewExpenseType']); mysql_query("INSERT INTO prf_expensecategory(description,status) VALUES('{$NewExpenseType}','1')"); $getMatrixData = mysql_query("SELECT * FROM `prf_expensecategory` WHERE `status`=1 ORDER BY `description` ASC"); echo ""; while($row=mysql_fetch_array($getMatrixData)){ ?>".strtoupper($row['id']).""; echo ""; echo ""; } echo "
".strtoupper($row['description'])."
"; } exit(); ?>