RE: [PHP-WIN] Checkbox/Database Issues

From: Date: Thu, 15 Aug 2002 19:50:02 +0000
Subject: RE: [PHP-WIN] Checkbox/Database Issues
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15284@lists.php.net to get a copy of this message
Did you use an element name like: element_name[] ? You need to add the [] to your element name. This creates an array and you need to loop through it to get each result. Metin At 02:26 PM 8/15/2002 -0500, Collins, Robert wrote:
Stephanie, can you give an example of your form and the code used to submit it to the Db? Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : rcollins@norta.com <mailto:rcollins@norta.com> -----Original Message----- From: Stephanie [mailto:spiet@optimetrics.org] Sent: Thursday, August 15, 2002 2:15 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Checkbox/Database Issues Here's my problem: I have a form in which there is a question and 5 checkboxes to select from (ex: you can select more than one checkbox) I need to get each checkbox that is selected to show up when it is inputed into the mySQL DB. I can get the first selected checkbox in, but nothing I've done seems to work. Any help would be much appreciated :-) Stephanie -- ********************** Stephanie K. Piet OptiMetrics, Inc. 2107 Laurel Bush Rd. Suite 209 Bel Air, MD 21015 SPiet@OptiMetrics.org http://www.OptiMetrics.org (410)569-6081 ext: 111 fax: (410)569-6083 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.windows (#15284) next »