Jump to content

Help with checkboxes


Rab0099

Recommended Posts

I am using php to display information from a MySQL database. It starts with three radio buttons and upon selecting one it will display some information for all items in that category. I have all this working but I need to add check boxes for each item and when submitted it will display all information for those items. Below is the bit where I need to insert check box and I'm also attaching my php (leaving out html form and database as it shouldn't be required to help). I must do this as soon as possible, please help. Thanks..

 

           while ($row = mysql_fetch_assoc ($result_set))
           {

              $ID =  $row['id'];
              $auth =  $row['entertainerauthor'];
              $title =  $row['title'];
              $media =  $row['media'];
              $feature =  $row['feature'];

              printf  ("\nID: %s",$ID);
              printf  ("\nEntertainer/Author: %s",$auth);
              printf  ("\nTitle: %s",$title);
              printf  ("\nMedia: %s",$media);
              printf  ("\nFeature: %s",$feature);
              print "\n";

              }

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/209304-help-with-checkboxes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.