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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,220
  • Total Topics: 21,352
  • Online today: 633
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 452
  • Total: 452

Help me with PHP article

Started by stefina, February 23, 2008, 11:46:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stefina

Well I have some problem when I wish include php web page as article and result is error

Well php line which I use look like as line below:

<?php include('some_page.php'); ?>

And result is:

Parse error: syntax error, unexpected '<' in /home/user/public_html/Sources/Load.php(1726) : eval()'d code(209) : eval()'d code on line 1

Well can you explain me how I can include php page without error and where is problem ?

Sorry for badly english because I am from Croatia and speak english badly :)

Thank you

IchBin

The <?php and ?> tags cannot be used as TP/SMF already have taken care of that. The whole article will have to be php code to avoid that error using echo's like the SMF template does.

stefina

Oh thank you very quickly answer :)

This website is proudly hosted on Crocweb Cloud Website Hosting.