Chapter 3 - PHP
Hi,
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
//php code
?>
<html.....
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
<?php
//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.
thanks
|