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:
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: PHP Help Wanted (how do I do this: page.php?section=something)
I would do something like this...

code:
<header>
<?php
if (!$a) { $a = "home"; }

include $a.".txt";
?>
<footer>

then have a file for each page, so index.php?a=links would load links.txt in the middle of the page. This way is better i think because you can add new pages without changing the main file.
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
06-03-2005 09:02 AM
Profile PM 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