Defined constant in mysql_query - Question.
| From: | Labunski | Date: | Wed, 13 Apr 2005 01:37:00 +0000 |
| Subject: | Defined constant in mysql_query - Question. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212975@lists.php.net to get a copy of this message | ||
Hi,
Can I use Constant in mysql query like this:
define("LANG", "eng");
mysql_query("SELECT * FROM data WHERE col = 'articles' ORDER BY
subjectLANG");
Thanks a LOT,
Lab.