RE: Accessing my variables

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

 



You're missing a ' in your include statement, after .php

Gary Every
Sr. UNIX Administrator
Ingram Entertainment Inc.
2 Ingram Blvd, La Vergne, TN 37089
"Pay It Forward!"

-----Original Message-----
From: J. Kevin C. Burton [mailto:KBurton@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, February 11, 2004 11:29 AM
To: php-db@xxxxxxxxxxxxx
Subject:  Accessing my variables

Hey all.. I am using PHP5 and apache 2.0 on windows xp pro.
 
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?
 
Kevin

-- 
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