Hi all, im sorta stuck...
I have successsfully interrogated an sql database, and created a loop that prints each row of the table:
while ( $a_row = mysql_fetch_row( $result ) ) {
print "</tr>\n";
foreach ($a_row as $field )
print "\t<td>$field</td>\n";
print "<td><input type=\"Checkbox\"></td>\n";
print "<td><input type=\"text\" maxlength=\"1\" size=\"5\"></td>\n";
print "</tr></div>\n";
It works fine, however, i need to actually make the checkbox function (as it is, it only prints a checkbox, but does nothing). The checkbox is to correspond to a shopping cart with php sessions, any help is greatly appreciated, thanks.