Jump to content


Photo

menu php


  • Please log in to reply
6 replies to this topic

#1 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 27 August 2006 - 01:20 AM

im creating a menu for my site, but want it to be updatable using php! im unclear how to do this, and how it would update?? i would like to just be able to add things to the menu (its a drop down menu btw) without having to change the html, with the php updating it! any ideas ? would be greatly appreciated!

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 27 August 2006 - 01:25 AM

blah blah blah
some html here
<?php
include("menu.php");
?>
blah blah blah more html stuff here

Like that?

Legend has it that reading the manual never killed anyone.
My site

#3 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 27 August 2006 - 01:31 AM

erm no m8, sorry ill explain again!

ive got a menu on my site, drop down menu. i want the "cells" on the menu to be controller using php, so that the menu is updatable using php! im not sure how to go about this

#4 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 27 August 2006 - 01:36 AM

Please define what you mean by "cells controlled by php" and a menu "updatable using php".
Legend has it that reading the manual never killed anyone.
My site

#5 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 27 August 2006 - 01:41 AM

its hard to explain, ive heard that u can make a menu updatable using php!

say u have a list of items on a navigation bar, and i want to add to that list, without using html and using php commands to update the nav bar, how would i go about doing this?

#6 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 27 August 2006 - 01:44 AM

If it's hard to explain, how would you like us to help?

Perhaps if you think you've seen an example, you could post the URL, otherwise this is going to turn into a fruitless quest or a series of random guesses.
Legend has it that reading the manual never killed anyone.
My site

#7 newb

newb
  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 27 August 2006 - 01:57 AM

i think he means javascript.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users