TinyPortal
Development => Support => Topic started by: stefina on February 23, 2008, 11:46:50 PM
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
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.
Oh thank you very quickly answer :)