Re: Advice on Constants - Notice: Undefined Constant
| From: | Philip Olson | Date: | Wed, 09 Apr 2003 17:40:15 +0000 |
| Subject: | Re: Advice on Constants - Notice: Undefined Constant | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143127@lists.php.net to get a copy of this message | ||
> As regarding to your question, the constant is defined
> and replaced internally in all your places in your php
> script.
>
> Incase you want to store a constant value dynamically
> you need to call a function called "constant", which
> returns the value of a constant.
I'm unsure what the above means, please explain as it
looks a little misleading.
Regards,
Philip