Varible calling a define value
| From: | Dev | Date: | Mon, 13 Dec 2004 21:36:07 +0000 |
| Subject: | Varible calling a define value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-204227@lists.php.net to get a copy of this message | ||
Hello all,
I am setting up a page that I would like to use DEFINE to retrieve more information about abriviations in a database.
The database part all works just fine.
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?
----------
UMPA
Brian C. Doyle
Director, Internet Services
United Merchant Processing Association
<http://www.umpa-us.com>http://www.umpa-us.com
1-800-555-9665 ext 212