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,966
  • Latest: safir45
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 777
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 105
  • Total: 105

Include php file

Started by fermachado, November 17, 2008, 11:47:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fermachado

Hi,
Thanks,
Don't work !

I tried now put only this code
<?php
include('/home/fotogeni/public_html/testegaleria/inc_features2.php');
echo "$photopostfeature";
 
?>

But I have the error
Parse error: syntax error, unexpected '<' in /home/fotogeni/public_html/testeforum/Sources/Load.php(1735) : eval()'d code(52) : eval()'d code on line 1

:(



Zetan

Remove the opening and closing php tags:


<?php

?>

TP's php blocks/articles have these already included.

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



fermachado

I´m Stupid

Works, thanks :)

Zetan

#14
Quote from: fermachado on November 19, 2008, 01:46:20 PM
I´m Stupid

No you are not.. You don't know until you have learnt it, now you have, you won't do it again.. If you do.. then you're stupid  ;)

For future reference, try searching for the error: Parse error: syntax error, unexpected '<' , for example, you'll probably find it's been discussed before.

fermachado

#15
Thanks,

Mi english it's very poor and I don't understand at first time the help from JPDENI .

I'm not remember to search this error :( sorry

Thanks again for your  patience

This website is proudly hosted on Crocweb Cloud Website Hosting.