RE: [PHP-DB] INSERT prob

2001-09-22 Thread Jason Wong
>Thanks for your help but it still aint working quite right! >As you suggested I now have a dynamically generated form of the following >construction: > >\n\t >Name:\n\t >value=\"$Name\">$Name\n\t >\n\t >\n\t >Age:\n\t >value=\"$Age\">$Age\n\t >\n\t > >//etc etc > >I use a modified version of the

RE: [PHP-DB] INSERT prob

2001-09-22 Thread rjm2
Jason: Thanks for your help but it still aint working quite right! As you suggested I now have a dynamically generated form of the following construction: \n\t Name:\n\t $Name\n\t \n\t \n\t Age:\n\t $Age\n\t \n\t //etc etc I use a modified version of the method you showed me to extract the va

RE: [PHP-DB] INSERT prob

2001-09-21 Thread Jason Wong
>Hallo everyone >I am, as one might say, 'near yet so far' > >* I have a page of user subscription info generated on the fly >* I want an administrator to check a box on each result set >* The info from each checked result set should be inserted into >another table (A new row/tuple for >each u

Re: [PHP-DB] INSERT prob

2001-09-21 Thread Rick Gardner
What are the values for your checkbox? I would consider making the value the index for the corresponding element. So <.input type=checkbox name='approved[]' value=0> <.input type='text' name='name[1]' value='John Smith'> <.input type=checkbox name='approved[]' value=1> <.input type='text' nam