| creating a link between db output and editing I'm a newbie so I may just be approaching this all wrong.
I have a db from which I retrieve a table of results and present this on via an html form generated with php. My first column for each row has an image that the user can click on to bring up a new pop up form in which they can edit that row of data and then submit to post the changes to the db.
How do I assign a key from database (for that record) which will allow me to retrieve the appropriate record for editing in my pop up form? In otherwords, when the user click on the row they want to edit, I need to know which record that corresponds to so I can show them only that record in the edit form.
Thanks. |