Page 1 of 1

Anchors or buttons in tables

Posted: Fri May 16, 2003 4:29 am
by Hottentott
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.

Posted: Fri May 16, 2003 4:53 am
by []InTeR[]
What are you current attempts?