Re: [PHP-DB] Accessing my variables
you forget the last ' on your include string: didnt you see the error message of php ? if dont change you error reporting for development, this an error easy to find out if you have your error reporting set to E_ALL. - Original Message - From: "J. Kevin C. Burton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 5:28 PM Subject: [PHP-DB] 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
RE: [PHP-DB] Accessing my variables
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:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 11:29 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] 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: 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
Re: [PHP-DB] Accessing my variables
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: 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