This is a discussion on How to replace define in a require file with mysql? within the PHP General forums, part of the PHP Programming Forums category; I have a file linked with require into my program with statements like: define("_ADDRESS","Address"); ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? bye Ronald |
|
|||
|
> 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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|