I have placed a column of data from a query into an array. Is it possible to have a list of <form> checkboxes where the name of each checkbox is the same as the array elements.
I know that is quite badly explained but see if this code helps...
$query = "SELECT mod_id FROM start_exam_info";
$result = mysql_query ($query, $dbh);
while ($row = mysql_fetch_row($result))
for ($i=0; $i< mysql_num_rows ($result); $i++)
$row[$i];