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
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
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
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
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
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
6 matches
Mail list logo