|
Author |
Message |
Gary
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
![](http://www.dontstop.co.uk/inside/images/avatars/1427194620400455310c362.jpg)
Joined: 30 Apr 2003
Posts: 21
Location: the UK, Devon
|
Posted:
Wed Apr 30, 2003 2:50 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Hey everyone!!! I hope someone can help!
on my web site 'www.thesummer.net' the menu is horrible [please take a look to understand] now what i really wanna do is control that menu from one source... i was told php can do this
i treid <include:menu.php> [lol] and i made the menu in a single page and called it menu.php but its crazy
anyone know of any good online guides, or is anyone here able to give me a few hints...?
thanks alot!!!
All The Best
Gary |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Gary Find all posts by Gary](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![MSN Messenger MSN Messenger](templates/4WebHelp2/images/lang_english/icon_msnm.gif) |
![](images/spacer.gif) |
Daniel
Team Member
![](images/rank_6.gif)
![](http://www.4webhelp.net/forums/images/daniel_avatar.php)
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Apr 30, 2003 3:17 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Our PHP introductory tutorial should be able to teach you some of the basic structure of PHP code: http://www.4webhelp.net/tutorials/php/basics.php
Now, as to your problem:
You have to name the page where you're putting the code with a .php extension, and use this code:
Code: | <?php include('menu.php'); ?> |
where menu.php is in the same directory as the file you put the code in. |
________________________________
![Image Image](http://www.4webhelp.net/images/daniel_sig.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Daniel Find all posts by Daniel](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Gary
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
![](http://www.dontstop.co.uk/inside/images/avatars/1427194620400455310c362.jpg)
Joined: 30 Apr 2003
Posts: 21
Location: the UK, Devon
|
Posted:
Wed Apr 30, 2003 3:23 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
oh my god your a genuis!!!!
thank you so much!!! this forum is great!!! |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Gary Find all posts by Gary](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![MSN Messenger MSN Messenger](templates/4WebHelp2/images/lang_english/icon_msnm.gif) |
![](images/spacer.gif) |
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.134463 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |