[PHP-DB] Multiple checkboxes

2003-08-14 Thread Mike Baerwolf
Hello, I'm trying to get the values from a form post with multiple checkboxes checked . Here is what I have, if ($row = mysql_fetch_array($result)); do { input type=checkbox name=class_id[] value=$row[class_id] $row[name] }while ($row = mysql_fetch_array($result));

Re: [PHP-DB] Multiple checkboxes

2003-08-07 Thread John W. Holmes
Mike Baerwolf wrote: Hello, I'm trying to get the values from a form post with multiple checkboxes checked . Here is what I have, if ($row = mysql_fetch_array($result)); do { input type=checkbox name=class_id[] value=$row[class_id] $row[name] Try putting quotes around your attribute values...