RE: [PHP] Links
| From: | Taylor, Stewart | Date: | Sat, 28 Apr 2001 11:54:13 +0000 |
| Subject: | RE: [PHP] Links | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50750@lists.php.net to get a copy of this message | ||
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:benquinn@optushome.com.au]
Sent: 28 April 2001 11:57
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net