RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] [snip] So the would go in the value or name field of the checkbox? [/snip] No, just value="" [/snip] I should have been more descriptive. When you click the SUBMIT button the values entered will appear in the $_POST array A small example page1.php (the form page) POST Test p

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] So the would go in the value or name field of the checkbox? [/snip] No, just value="" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
So the would go in the value or name field of the checkbox? -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 10:01 AM To: Andrew Reilly; [EMAIL PROTECTED] Subject: RE: [PHP] Need to maintain the integrity of the checkbox [snip] Example of

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] Example of form: So the dollar amounts are the same for three of the four events, but this is just a snippet of about 20 items. If I take out the dollar amounts, and just populate an array with what are now the descriptive names, I can assign dollar amounts in the checkout script. Am

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
about 20 items. If I take out the dollar amounts, and just populate an array with what are now the descriptive names, I can assign dollar amounts in the checkout script. Am I on the right track? -Original Message- Subject: RE: [PHP] Need to maintain the integrity of the checkbox [snip

Re: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jason Wong
On Thursday 29 July 2004 22:04, Andrew Reilly wrote: > I have created a form that lists the possible sponsorships of various > events. I need to keep the names of the checkbox to identify the specific > event, but the value is a dollar amount that needs to pass thru to the > checkout area functio

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] Your right, I didn't explain fully. If I have two events where the value="$5", then after I have looped thru the array I know they want to pay the $5, but not which event that goes to because multiple events are that value. What I'm thinking I'll do is make one array and give each event a

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] I have created a form that lists the possible sponsorships of various events. I need to keep the names of the checkbox to identify the specific event, but the value is a dollar amount that needs to pass thru to the checkout area function. Without creating an array that would loose the even