Re: Accessing my variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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. =~

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux