Re: Varible calling a define value

From: Date: Mon, 13 Dec 2004 21:38:59 +0000
Subject: Re: Varible calling a define value
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-204228@lists.php.net to get a copy of this message
> Currently i have a Defiune setup of: > define("THS", "This is a test"); > I also have a string value of > $that='THS'; > When I echo out $that it get THS. > I want to echo out $that and get: > This is a test. > How can I do this? $that = THS You don't want the quotes. thnx, Chris

« previous php.general (#204228) next »