Re: Accessing my variables
| From: | Fedde van Feggelen | Date: | Wed, 11 Feb 2004 18:54:54 +0000 |
| Subject: | Re: Accessing my variables | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32906@lists.php.net to get a copy of this message | ||
My problem is: I have an include file: global.inc.php Inside that file I have: $myVariable = "xankjndckjnskncd"; now I have a index.php that has: <? Include('global.inc.php); Print $myVariable; ?> Anyone got a clue on this one?Depends on what your problem is, not really a clear problem description here ;) and it has to be include ("global.inc.php"); instead of include ('global.inc.php); laters, Fedde ~= The sum of the intelligence on the planet is a constant; the population is growing. =~