RE: [PHP] Variable won't work in function, even when I global it?

From: Date: Mon, 20 May 2002 18:33:54 +0000
Subject: RE: [PHP] Variable won't work in function, even when I global it?
Groups: php.general 
Request: Send a blank email to php-general+get-98494@lists.php.net to get a copy of this message
Or why not just use include_once() or require_once() ?? That's their purpose. --- Scott Hurring Systems Programmer EAC Corporation ScottH@eac.com Voice: 201-462-2149 Fax: 201-288-1515 > -----Original Message----- > From: Paul Roberts [mailto:roberts_paul@bigfoot.com] > Subject: Re: [PHP] Variable won't work in function, even when I global > it? > > try > > eval("?>$footertext"); > > also take the code out of the function and try it, you may > need to global some more variables. > > Paul Roberts > roberts_paul@bigfoot.com

« previous php.general (#98494) next »