Hello, I have a question involving mysql and php. I currently have the page where it will print out and format the contents of a table, However I would like to have update and delete buttons for each row. Currently the page prints out each row with the php echo command. The problem is, with that Im only able to just read the table and have no way of knowing what row each is to delete it.
for example
I guess the question is how can I have the delete and update buttons know what row they are supposed to operate on.
Forgive me if my question is worded a bit confusing or odd, Ive had a 37hr day and am just about to hit the sack.
Thanks for any help.
for example
Code:
Name Address Phone
-----------------------------------------------------------------------------
John 43 Road, Atlanta (xxx)xxx-xxxx [delete] [update]
Jane 23 Atlanta Road (yyy)yyy-yyyy [delete] [update]
I guess the question is how can I have the delete and update buttons know what row they are supposed to operate on.
Forgive me if my question is worded a bit confusing or odd, Ive had a 37hr day and am just about to hit the sack.
Thanks for any help.