How about something like.

'start_page.php'
Some HTML...
<A HREF="index.php?action=displayScreen1">display screen 1</A>
<A HREF="index.php?action=displayScreen2">display screen 2</A>
More HTML...

'index.php'
<?php
Some Code....
switch($action)
{
  case "displayScreen1":
  {
     include_once "displayScreen1.php";
     break;
  }
  case "displayScreen2":
  {
     include_once "displayScreen2.php";
     break;
  }
  default:
  {
     include_once "start_page.php";
     break;
  }
}
Some More Code....
?>




-----Original Message-----
From: Ben Quinn [mailto:[EMAIL PROTECTED]]
Sent: 28 April 2001 11:57
To: [EMAIL PROTECTED]
Subject: [PHP] Links


Hi all,

I've been trying for many hours to find information on this, but not having
much luck.  What i want to do is have an index.php page, and then each link
on that page has a URL like index.php?linkid    ie.  index.php?links  etc

Can anyone point me in the right direction?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to