Date: 09/30/00
- Next message: Craig Simons: "[PHP] validation help (checking for those nasty chars)"
- Previous message: Matt McClanahan: "Re: [PHP] Re: problem with image button"
- In reply to: Remco Chang: "[PHP] accessing CONSTANTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
define ("ADMIN", "admin <email protected>");
echo "send mail to <a href=\"mailto: ". ADMIN. "\">admin</a>";
jason
> thanx to those who helped me with the question on < and > characters! :)
>
> another question i have is regarding accessing constants. eg,
>
> define ("ADMIN", "admin <email protected>");
> echo "send mail to <a href=\"mailto: ADMIN\">admin</a>"
>
> PHP interperts ADMIN as a string... is there anyway to access the value
> of a constant?
>
> $ad = ADMIN doesn't do the trick either... it again evaluates ADMIN to be
> the string "ADMIN"...
>
> thanx in advance!
>
> ----------------
> remco chang
> bountyquest.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Craig Simons: "[PHP] validation help (checking for those nasty chars)"
- Previous message: Matt McClanahan: "Re: [PHP] Re: problem with image button"
- In reply to: Remco Chang: "[PHP] accessing CONSTANTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

