I have a serious issue: I have a table. It consists of:
ID Name Link ContentID
ID is primary key, and ContentID is the foreign Key.
What my script does is listing up name, link from the table. They all have the same contentid so I list them up to the right content.
all name/links is owned by a content.
The problem is I want to update name,link by using the update button which is situated next all rows in the table.
my update_doc.php page catches the ID, so I get the right one when I press the update link (to my update_confirmed.php page).
But the problem is I don't get the rest of the data, only the ID. How can I easy catch the rest of the data from update.doc.php to update_confirmed.php ?
the way I catch the ID data is by the link;
Expand|Select|Wrap|Line Numbers
- <a href="update_doc_confirmed.php?recordID=<?php echo $row_Recordset1['id']; ?>">update</a>
It's a link, not a submit button if that helps?
Hope it's easy, hope you can help me guys.
I was thinking about having only one update button on the page (it lists up all). Is that hard to accomplish?
PM