TinyPortal
Development => Feedback => Bugs/Errors => Topic started by: Selaiah on January 24, 2007, 08:46:44 PM
When i try to preview a PHP Article i get:
Parse error: parse error, unexpected '<' in /
portal/httpdocs/Sources/Load.php(1733) : eval()'d code(231) : eval()'d code on line 1
tried 2 different themes. The rest of the forum seems to be working perfectly. Any idea?
You need to leave out the <?php and the closing one when using php in a block
Thanks for the swift reply.
Strangely it already happens tho when i just type in "123" ?
What, exactly, is the code in your article?
If it starts with
<?php
you need to get rid of that, like Inge Jones said. Also, the normal ending
?>
in php files.
If your code is
123
that won't work, either, because that is not php code. What will work is something like
echo '123';