Reply to Re: include files not being included

Your name:

Reply:


Posted by Martin Lemke on 12/04/07 01:26

Dave schrieb:

> <h1><? include "test-include.php"; ?></h1>

include does not do any output.


Test this:

test-include.php:

<?php
$test="'test-include.php' has been included";
?>

Your test script:

<?php
include_once('test-include.php');

print "<p>$test</p>";
?>

If output of yout test script ist not: <p>'test-include.php' has been
included</p>, then test-include.php hast not been included, but I dont
think so.

Martin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация