Anchors or buttons in tables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Hottentott
Forum Newbie
Posts: 1
Joined: Fri May 16, 2003 4:29 am

Anchors or buttons in tables

Post 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.
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Post by []InTeR[] »

What are you current attempts?
Post Reply