Thanks DJ, I've got that part taken care of. My question is really more about how to code my page to that when the user clicks on a row in my form, I know which record (i.e. the key_id) they selected. I think I somehow need to embed the key_id in the object they click on.
Maybe a little more detail will help... I have a query that returns a set of records. Then i'm looping through the returned array and generating the html form for each record, including columns for the fields in my database plus the "click here to edit" icon that i'm putting at in the first column of the form.
So if i return 10 records from query (i.e. 10 rows of data in my html table/form), how do i know which row the user clicks on so i can return the appropriate record in a new form for editing? This is probably very basic, but I'm not seeing it.
Thanks