Re: [PHP] Scope issue

2004-12-20 Thread Richard Lynch
GH wrote: > Hi I am having an issue with I think it is the scope of variables: > > I have a file that I am including which has the following" > > // +-- > // | PHP Source > // +-

RE: [PHP] Scope issue

2004-12-17 Thread Mike
> In my main file, I am attempting to from with in a function > call $language['project_name'] and i am failing... can you > offer any advice? > Are there any specific reasons that you need to set the variable to global scope? It's typically recommended that unless you need to, to pass the va

[PHP] Scope issue

2004-12-17 Thread GH
Hi I am having an issue with I think it is the scope of variables: I have a file that I am including which has the following" "; global $langauge; $language['project_name'] = "P.L.I.M.S"; $language['sub_project_name'] = "DCR CC"; ?> In my main file, I am attempting to from with in a function ca

[PHP] scope issue?

2002-03-10 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have the solution to my problem here but can't see why i need it? this snippet takes $AuthId from a form and but does not work (doesn't seem to pass it to the function) case "edit": $tips->get_author($AuthId); $content