I have created this function in php but everytime I call it in another page I get an internet explorer error saying argument no valid. Can anyone see the problem?? I am new to PHP so my code may be s**t to say the least.
My code:<?
function do_html_header($title)
{
?>
<HEAD>
<TITLE><?=$title?></TITLE>
<STYLE>
body { font-familt: Arial, Helvetica, sans-serif; font-size: 13 }
li, td { font-familt: Arial, Helvetica, sans-serif; font-size: 13 }
hr {color: #3333cc; width=300; text-align=left}
a { color = #000000 }
</STYLE>
</HEAD>
<BODY>
<?
if($title)
do_html_header($title);
}