Need help - Updating multiple rows with one form
Posted: Sun Oct 14, 2007 10:15 pm
Hey Everyone,
I'm new here but I like the site.
I have a coding question.
I am attempting to update multiple database rows with one form submit. Here is a the post data:
As you can see the numeric index in the front is meant to be the row id.
I would like to put this data into the form:
what are the steps you guys recommend???
Thanks in advance for any help or suggestions:)
Andrew
I'm new here but I like the site.
I have a coding question.
I am attempting to update multiple database rows with one form submit. Here is a the post data:
Code: Select all
[12_title] => title
[12_journal] => journal
[12_Month] => Month
[12_Day] => Day
[12_Year] => Year
[7_title] => title
[7_journal] => journal
[7_Month] => Month
[7_Day] => Day
[7_Year] => Year
[2_title] => title
[2_journal] => journal
[2_Month] => Month
[2_Day] => Day
[2_Year] => Year
[17_title] => title
[17_journal] => journal
[17_Month] => Month
[17_Day] => Day
[17_Year] => YearI would like to put this data into the form:
Code: Select all
array[id][field] = value
like...
array[17][journal] = titlewhat are the steps you guys recommend???
Thanks in advance for any help or suggestions:)
Andrew