selecting a constant or label in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for another newbie question, I'm learning.

In Sybase I can do:

select "COMM_REGIONID" , count(1) from COMM_REGIONID where PHYSICAL_ID is null
select "COMM_TKGRP" , count(1) from COMM_TKGRP where PHYSICAL_ID is null


I get parsing errors when putting it in this:


$result = sybase_query("select "COMM_REGIONID" , count(1) from COMM_REGIONID where PHYSICAL_ID is null
select "COMM_TKGRP" , count(1) from COMM_TKGRP where PHYSICAL_ID is null" , $server_sybase);



How can I hardcode "COMM_REGIONID" and "COMM_TRKGRP"?


_________________________________________________________________
Wonder if the latest virus has gotten to your computer? Find out. Run the FREE McAfee online computer scan! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux