TinyPortal
Development => Support => Topic started by: Santa90 on October 02, 2007, 10:11:38 AM
Hi, Anyone help? I keep getting the following error when I add a PHP article.
Parse error: syntax error, unexpected T_STRING in Sources/Load.php(1732) : eval()'d code(209) : eval()'d code on line 1
Regards
s90
Whats the code you are trying to add?
Remove the php tags at the start and end of the code you use in the block or article.
Hi I wasnt using any code, I was just testing so posted "Test"
Thanks
s90
Yes you posted, but what did you post IN, what kind of function ion TP did you use ? Block ? Article ? What kind of Block or article ?
You really need to give us more information on what you have.
If you are unsure of what info, we have posting guides that will help you with what we need to know.
try:
echo '
TEST
TEST
TEST
';
It's php code.. It doesn't work like regular HTML, it has rules which need to be followed to work.
Oh everything has to be written in php, One of them days lol. Thanks