I want to update attendence column by inserting intime and outtime at the table below is the coding and I want to show the result on the browser and also should be updated in table
$result = mysql_query("SH OW COLUMNS FROM mark_attendence ");
while ($row = mysql_fetch_ass oc($result)) {
mysql_query("UP DATE mark_attendence SET ".$row['InTime']." = '' WHERE ".$row['field']." = 'currentvalue'" )
$result = mysql_query("SH OW COLUMNS FROM mark_attendence ");
while ($row = mysql_fetch_ass oc($result)) {
mysql_query("UP DATE mark_attendence SET ".$row['InTime']." = '' WHERE ".$row['field']." = 'currentvalue'" )
Comment