What up Nova? Ok check out what mr.mufin says!
Author: mrmufin (pool-151-199-237-248.phil.east.verizon.net) Profile
Date: 2002-07-20 10:44:15
Global variables are global, but not to functions unless specifically implemented as global within the function (as your example shows).
If you need "global-ity" within functions, your include file could use the define() function instead. The define() function creates constants which are global throughout the entire lifecycle of your script:
define(DBUSUER,"foobar");
define(DBPASSWORD, "foobar");
etc....
Using this method, you won't need to use the global declaration inside each function.
Have fun
This will work for ya! Just use it within your function and it should set it as a global. That way you can use it later. If this helps great! But if not then don't fuss. Lata!
Chad