PHP heredoc syntax error

FleloBillnicy

New Member
Hi friends how how come this code is giving me an error ?\[code\] <?php $content = <<<EOF $error <form action="form2.php" method="post"> <label for="username">username:</label><br /><br /> <input type="text" name="username" class="text" /> <label for="password">Password</label><br/><br /> <input type="password" name="password" class="text" /> <input type="submit" value="http://stackoverflow.com/questions/3692932/login" /> </p> </form> EOF; ?>\[/code\]
 
Back
Top