Thread: Chapter 3 - PHP
View Single Post
  #1 (permalink)  
Old October 18th, 2007, 09:24 AM
fixxxer125 fixxxer125 is offline
Registered User
Join Date: Oct 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 - PHP


Id been planning on using the menu system in chapter 3 for my website and created the menu and css. It works fine until i add my php code to the page. The php code is inserted in the document like this

//php code

as soon i place even one line of code in the page, the menu stops working. The page loads but is not clickable.

im aware that it has something to do with text before the <html>tag but i thought as it only contained functions and sessions settings and not any actual output, it would work.

Ive also tried it by doing
//code here
?><html ....

but this doesn't work either.

can anyone offer me any advice or will it just not work with php. it just seems unusual and ive been trying for days.


Reply With Quote