I'm experimenting with a JS menu, its one of those that goes accross a page and as you move the mouse over an item a drop down menu appears.
Anyway, I've been trying to get some PHP working inside this for two reasons
- To be able to have a hidden administation menu
- To be able to generate the pull downs dynamically from a db
But it doesn't seem to work, even a simple test..
<? echo "Hello"; ?>
gave me a JS error, probably due to it all being inside <head> </head> and caused the whole menu not to load.
Is there any way around this that anyone can think of?
Thanks