[PHP-DB] how to put links (to another page) behind records in a table From: Sander Peters (S.Peters <email protected>)
Date: 10/14/01

Hello,

I'm displaying a table with records and with <prev> and <next> buttons.
This table shows a list movies that I own.
I want to make a link after each movie so that the user can see the
details from that movie.
Like this: (for example)

ID Titel
1 movietitel1 view details
2 movietitel2 view details

I have a idea how to do that, it should be something like this:

print("<TD><a href=\"http://..\forms\view_edit_movie_form?ID=$ID\">view
details</TD>");

The only problem is, that I should take again the variable out of the
query ID that I made earlier in my script.
The tabel is made in a While Loop, so I don't know how to get a "fresh"
ID nr from the query in the Loop.

I hoop you understand me!
Thanks in advance for your answer

--
Met vriendelijke groet / With Greetings,

Sander Peters

site: http://www.visionnet.nl/ email: mailto:s.peters <email protected> webmail: mailto:sanderpeters <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>