4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Arunan on June 05, 2002, 04:18:10 AM

Title: Problem...with php include
Post by: Arunan on June 05, 2002, 04:18:10 AM
Hi, i had added an extra table in home.html to support my news.

I put <php include ("news/news.txt") ?>

but it gives me a parse errors, and someting about line 131 in template.php...can anyone tell me how to include my news.

Thanks
Title: Problem...with php include
Post by: Jan on June 05, 2002, 07:51:15 AM
Hi,

try:

<?php
include ("news/news.txt");
?>

Greets Jan
Title: Problem...with php include
Post by: Arunan on June 05, 2002, 11:08:16 PM
Sorry, I made a mistake in my previous post, it was

<?php include("news/news.txt"); ?>

I also tried
<?php include ("news/news.txt"); ?>
*the space between include
Title: Includes
Post by: Vienix on June 06, 2002, 12:48:47 AM
HiDiHi,

in my template(s) you can see how to include extra "things"
like a menu or whatever...

http://www.4homepages.de/forum/viewtopic.php?t=604

Good luck !
Title: Problem...with php include
Post by: sasuke on June 07, 2002, 09:32:29 PM
ITS IMPOSSIBLE !!!

------

HELP !!

------

HOW I ADD A INCLUDE !!

<?php include("poll/poll.php"); ?>

<-- ERROR:  
Parse error: parse error in c:\archivos de programa\easyphp\www\4images\includes\template.php(139) : eval()'d code on line 444
Title: Problem...with php include
Post by: sasuke on June 09, 2002, 03:19:02 PM
Ok! Thanks !!