|
Author |
Message |
Gary
Junior WebHelper
Joined: 30 Apr 2003
Posts: 21
Location: the UK, Devon
|
Posted:
Wed Apr 30, 2003 2:50 pm (20 years, 11 months ago) |
|
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 |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Apr 30, 2003 3:17 pm (20 years, 11 months ago) |
|
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. |
________________________________
|
|
|
|
Gary
Junior WebHelper
Joined: 30 Apr 2003
Posts: 21
Location: the UK, Devon
|
Posted:
Wed Apr 30, 2003 3:23 pm (20 years, 11 months ago) |
|
oh my god your a genuis!!!!
thank you so much!!! this forum is great!!! |
|
|
|
|
|
|
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.221563 seconds :: 19 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |