They should be radio buttons, not checkboxes in your case... So you only get on value per radio button group.
Sorry, short on time but maybe tommorrow if I have time for more details. Basically Post Read posted variables Write info to table Read info from table Display info from tables... Pat Newberry The box said "Requires WinXP, W2k, or better," and so I installed Linux. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Muharem Lubovac Sent: Monday, December 12, 2005 3:33 PM To: [email protected] Subject: Re: [php_mysql] Problem With MySQL / PHP Array <snip> GROUP FIGURE 1-2 [Group 1 Checkboxes] These 3 checkbox values are to be stored in a variable ($prod_1) using an array and inserted into the database table (table1) and into the table1 field (prod_1): <input type="checkbox" name="prod_1[]" value="Widget 1"> <input type="checkbox" name="prod_1[]" value="Widget 2"> <input type="checkbox" name="prod_1[]" value="Widget 3"> </snip> ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/CefplB/TM --------------------------------------------------------------------~-> The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
