Re: How to replace define in a require file with mysql?

From: Date: Wed, 17 Oct 2007 12:35:27 +0000
Subject: Re: How to replace define in a require file with mysql?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263261@lists.php.net to get a copy of this message
I have a file linked with require into my program with statements like: define("_ADDRESS","Address"); define("_CITY","City"); I would like to replace this with a mysql table with these two fields (out of many other fields). How can I do that?
I'm not aware of any method of "undefining" an already defined constant. Except changing the line in your required file... -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support

« previous php.general (#263261) next »