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: tr\n\t tdName:/td\n\t tdinput type=\hidden\ name=\user[$itemID][Name]\ value=\$Name\p$Name/p/td\n\t /tr\n\t tr\n\t tdAge:/td\n\t tdinput

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: tr\n\t tdName:/td\n\t tdinput type=\hidden\ name=\user[$itemID][Name]\ value=\$Name\p$Name/p/td\n\t /tr\n\t tr\n\t tdAge:/td\n\t tdinput

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'

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 user) I