Re: [PHP] includes globals

2002-12-02 Thread Marek Kilimajer
Is it not set or is it empty? Try adding this code to menu function after global $LOCATION; if(!isset($LOCATION) die('$LOCATION is not set!'); Cesar Aracena wrote: Hi all, I'm making a site with a dynamic menu based on IF statements and DB queries, but have this little problem which I can't

[PHP] includes globals

2002-12-01 Thread Cesar Aracena
Hi all, I'm making a site with a dynamic menu based on IF statements and DB queries, but have this little problem which I can't understand the reason. My programming method is based upon an application.php file which controls the hole site and paths, template files for the header footer and main