What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » More Website Help Please

More Website Help Please
Author: Message:
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: More Website Help Please
ok well i will give you a more advanced one this time

index.php:
code:
<a href="./newpage.php?page=contact">Contact Page</a>

newpage.php:
code:
<?php
$page = $_GET["page"];
?>
<html>
<?php
switch($page){
    case "contact":
        echo "Contact Page";
    break;
    case "other":
        echo "Other Page";
    break;
    default:
        echo "Couldnt find page!";
    break;
}
?>
</html>

click the link in index.php and the browser will then show:

Contact Page

... i hope this helps you out ...

This post was edited on 01-17-2007 at 03:31 PM by NanaFreak.
01-17-2007 03:30 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
More Website Help Please - by Eddie on 01-17-2007 at 11:49 AM
RE: More Website Help Please - by Ezra on 01-17-2007 at 12:14 PM
RE: More Website Help Please - by Eddie on 01-17-2007 at 12:24 PM
RE: More Website Help Please - by Felu on 01-17-2007 at 01:32 PM
RE: More Website Help Please - by Eddie on 01-17-2007 at 03:21 PM
RE: More Website Help Please - by NanaFreak on 01-17-2007 at 03:24 PM
RE: More Website Help Please - by Eddie on 01-17-2007 at 03:25 PM
RE: More Website Help Please - by NanaFreak on 01-17-2007 at 03:30 PM
RE: More Website Help Please - by Eddie on 01-17-2007 at 03:41 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On