PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You can fetch it from the main branch of the script by using "global $myVariable;" before you use it, but that really is a bad idea. Globals are horrid. Why can't you pass it in?