note 53492 rejected from function.include by betz
| From: | betz@php.net | Date: | Fri, 03 Jun 2005 08:31:27 +0000 |
| Subject: | note 53492 rejected from function.include by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89849@lists.php.net to get a copy of this message | ||
Note Submitter: james dot manley at club-internet dot fr
----
I am stuck with import problems. The imported HTML tags work well but no PHP code is imported!!!!
Can someone help me. It looks like a configuration problem as I copied the example in this
tutorial!!! Thanks very mutch!
The following code doesn't work :
in file vars.php
<?php
$couleur = 'verte';
$fruit = 'pomme';
?>
in file test.php
<?php
echo "Une $couleur $fruit"; // Une
include 'vars.php';
echo "Une $couleur $fruit"; // Une verte pomme
?>
When the two variables are called they are undefined!! Snif!! Help!!
James Manley