If I understand what you're trying to do, just put an identifier in the url, and on the page you link to, use an if statement to display the part you want.
eg <a href='newpage.php?content=emailform'>email form</a><br /> <a href='newpage.php?content=forum'>Forum</a> and on the 'newpage.php' if($content == "emailform") { //Put your stuff to be displayed here } elseif ($content == "forum") { //Again, more stuff to be displayed } And so on ;) -----Original Message----- From: Gui Guy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 14 August 2002 10:08 AM To: [EMAIL PROTECTED] Subject: [PHP] determining which link was clicked if I have a page full of links and I want to generate another page. The contents of the new page will depend on the link I click. How can I determine which link was clicked? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php