Hi there
I'm trying to list some stuff from a database using a loop like this:
while($row = mysql_fetch_object($result)) {
echo ("<tr><td>$row->visitor</td><td>on $row->date</td></tr>");
}
That works. Now, I'd like a simple and dynamic way to link up a new script by clicking on the table entries, so that further data relating to that table entry can be listed. Is there a sensible way of putting anchors or buttons in a table like this? My current attempts were not welcome in the browser.
Language is php. Database is mySQL.
Anchors or buttons in tables
Moderator: General Moderators