TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,055
  • Total Topics: 21,337
  • Online today: 572
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 170
  • Total: 170

Parse error: syntax error, unexpected T_STRING in /Load.php

Started by Santa90, October 02, 2007, 10:11:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Santa90

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

Dragooon


G6Cad

Remove the php tags at the start and end of the code you use in the block or article.

Santa90

Hi I wasnt using any code, I was just testing so posted "Test"

Thanks
s90

G6Cad

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.

Zetan

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.

Santa90

Oh everything has to be written in php, One of them days lol. Thanks

This website is proudly hosted on Crocweb Cloud Website Hosting.