Menu
OK so I understand that they need to be defined before any html takes place, but I’m unclear on what is considered html. For instance is:
[CODE]<html>
<head>
</head>
<body>
<?php
setcookie(“username”, $_POST[‘username’]);
?>
</body>
</html>
breaking that rule. Or perhaps:
[CODE]<?php
$username = $_POST[‘username’];
if($username != “”)
{
setcookie(“username”, $_POST[‘username’]);
echo “<meta http-equiv=’refresh’ content=’1;url=menu.php’>”;
}
?>
Can I consider “any html” any html that actually displays on the page?