What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP Help Wanted (how do I do this: page.php?section=something)

PHP Help Wanted (how do I do this: page.php?section=something)
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: PHP Help Wanted (how do I do this: page.php?section=something)
well this forum uses the tid get value to know what thread to grab from the database , but i think you want to use something really simple like
code:
<?php
$x = isset($_GET['page']) ? $_GET['page'] : 'home';
if($x=='about'){?>
<--- about page html here --->

<? }else if($x=='other'){ ?>

<--- other page html here --->

<?}else{?>

<--- defult page html here --->
<? }?>


so say if someone goes to your page blah.php?page=about it will show <--- about page html here --->
thats for a really simple one though...

This post was edited on 12-21-2005 at 08:39 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
06-03-2005 05:06 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP Help Wanted (how do I do this: page.php?section=something) - by rav0 on 06-03-2005 at 04:41 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by -dt- on 06-03-2005 at 05:06 AM
RE: RE: PHP Help Wanted (how do I do this: page.php?section=something) - by rav0 on 06-03-2005 at 05:38 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by RaceProUK on 06-03-2005 at 07:09 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by saralk on 06-03-2005 at 09:02 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by Yousef on 06-03-2005 at 09:07 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by Ezra on 06-03-2005 at 09:13 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by Yousef on 06-03-2005 at 09:19 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by Ezra on 06-03-2005 at 09:21 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by Stigmata on 06-03-2005 at 09:35 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by rav0 on 06-03-2005 at 10:57 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by Dempsey on 06-03-2005 at 11:05 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by KeyStorm on 06-03-2005 at 11:21 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by rav0 on 06-03-2005 at 11:23 AM
RE: RE: PHP Help Wanted (how do I do this: page.php?section=something) - by Dempsey on 06-03-2005 at 11:25 AM
RE: RE: RE: PHP Help Wanted (how do I do this: page.php?section=something) - by rav0 on 06-03-2005 at 11:26 AM
RE: PHP Help Wanted (how do I do this: page.php?section=something) - by KeyStorm on 06-03-2005 at 11:33 AM


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