On Wednesday 13 April 2005 04:37, Labunski wrote: > Hi, > Can I use Constant in mysql query like this: > > > define("LANG", "eng"); > mysql_query("SELECT * FROM data WHERE col = 'articles' ORDER BY > subjectLANG"); You can use: mysql_query("SELECT * FROM data WHERE col = 'articles' ORDER BY subject".LANG); > > > Thanks a LOT, > Lab. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436
Attachment:
pgpRk9Dtg0tCm.pgp
Description: PGP signature