Hi,
I have a db which, simplified, looks like this:
Id Text
001 First Line
002 Second Line
003 Third Line
etc...
When my page loads, I want to display all the existing lines in textboxes i.e.
001 First Line
002 Second Line
003 Third Line
so fra, so good ... simple stuff ...
Also, I have functionality (javascript) which allows user to add other textboxes e.g.
004 Fourth Line
005 Fifth line
again, so far so good ... javascript working fine ... so, at this point, the page may look like this:
001 First Line
002 Second Line
003 Third Line
004 Fourth Line
005 Fifth line
what I want to do is ... when user clicks Update button (or some other mechanism to trigger) ... the added lines (or all lines) are passed back to php script which updates the database sop the db has the same data as appears on the page ...
any ideas??