Re: [PHP] Processing a table of input fields

2007-05-12 Thread Richard Lynch
Use name=attend[?php echo $user_id?] This will simplify life immensely on the processing side where you can just iterate through $_POST['attend'] as an array and have the $user_id. Ditto for the pay[?php echo $user_id?] and other fields. Note that the checkboxes will ONLY send in keys/values

[PHP] Processing a table of input fields

2007-05-11 Thread Todd Cary
I create a table of input fields so the user (secretary at a Rotary meeting) can check mark if the person attended and how much they paid for lunch. Each input field name has the user ID as part of it. What is the best way to process the table when the submit button is pressed? There are

Re: [PHP] Processing a table of input fields

2007-05-11 Thread Richard Davey
Todd Cary wrote: I create a table of input fields so the user (secretary at a Rotary meeting) can check mark if the person attended and how much they paid for lunch. Each input field name has the user ID as part of it. What is the best way to process the table when the submit button is

Re: [PHP] Processing a table of input fields

2007-05-11 Thread Jim Lucas
Richard Davey wrote: Todd Cary wrote: I create a table of input fields so the user (secretary at a Rotary meeting) can check mark if the person attended and how much they paid for lunch. Each input field name has the user ID as part of it. What is the best way to process the table when the

Re: [PHP] Processing a table of input fields

2007-05-11 Thread Todd Cary
Jim Lucas wrote: Richard Davey wrote: Todd Cary wrote: I create a table of input fields so the user (secretary at a Rotary meeting) can check mark if the person attended and how much they paid for lunch. Each input field name has the user ID as part of it. What is the best way to process

Re: [PHP] Processing a table of input fields

2007-05-11 Thread Todd Cary
Jim Lucas wrote: Richard Davey wrote: Todd Cary wrote: I create a table of input fields so the user (secretary at a Rotary meeting) can check mark if the person attended and how much they paid for lunch. Each input field name has the user ID as part of it. What is the best way to process