Hello im new to the world of php, ive been designing a webpage in ma spare time and ive got to a stage where im stuck its basically ticking checkboxes and inserting them into the next page somehow using the $post method not sure how to do it. But the problem i have is the options i want to chose are searched from a database and i want to select an output and then send it to the next page using a submit button. Form Submit array, ive got no idea at all ive done some coding up to adding checkboxes next to each row. heres my coding so far. Also i dont think you can have form in the php section;
<?
<form name="Dates" action=".php" method="post" onsubmit="return checkCheckBoxe();">
// Loop through data and display
while($a_row = mysql_fetch_assoc($result))
{
echo "<tr>".
'<td style="color: red;"><input type="checkbox" name="bookings[]" value="'.$a_row.'"></td>'.
"<td style=\"color:red\">".$a_row."</td>".
"<td style=\"color:red\">".$a_row."</td>".
"<td style=\"color:red\">".$a_row."</td>".
"<td style=\"color:red\">".$a_row."</td>".
"<td style=\"color:red\">".$a_row."</td>".
"<td style=\"color:red\">".$a_row."</td>".
"<td style=\"color:red\">".$a_row."</td>".
"<td style=\"color:red\">".$a_row."</td></tr>";
}
// Close connection ! (please !)
mysql_close($connection);
<input type="submit" name="Submit" value="Submit!" />
</form>
?>