NAVIGATION - HOME |  | |
PHP, , file in cel | | Published by: rose 2009-01-07 |
Voller Fuel Cell Battery Charger (TreeHugger):: file or directory in /usr/www/users/dmazone4/files/2006/07/voller_fuel_cel.php on line 38 We remember when the first cel phones came out, and they were http://www.treehugger.com/files/2006/07/voller_fuel_cel.phpHOME | I know a little HTML and very little about PHP.
I have two types of files:
I have one file, let's call it menu.php (I'm not sure whether to save
it as a .html file or a .php file). It has say 30 groups of links in
it which are in groups something like this:
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
etc.
etc.
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site CEI - Creators of EnSight Visualization Software - Home:: CEI makes EnSight, the extreme visualization post-processor. out EnSight 9. And EnLiten 8 .els files will still play in EnLiten 9. EnSight 8 http://www.ensight.com/HOME | PHP: symlink - Manual:: bool symlink ( string $cel , string $dowiÄ…zanie ) However, if you want a file of non-predefined type to be viewable in the browser, http://www.php.net/manual/pl/function.symlink.phpHOME |
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
http://www.somplace.com">wordsbasically describing a page or site
|
Like I said, lets say I have 50 pages. All are going to include this
menu, but here is my question:
On say the 20th, 37th, 45th pages I want to include only the portion
of the "menu" in group 25. In ten other pages I want to include only
the portion of the menu in group 3. etc etc. It will always be just
one group. How do I do this? I'm guessing there are some tags I need
to add to the menu file, and one unique line of code for each
individual page.
johnjri1-ga,
You can do this using a variable. Say you have three pages, each of
which needs to show a different menu group. Before you do the include,
set a variable indicating which menu group should appear on this page.
In the samples below, the only thing that changes is the value of the
$menu_group variable.
page1.html looks like this. Note the $menu_group variable.
|