selecting a constant or label in php

From: Date: Wed, 03 Dec 2003 15:39:33 +0000
Subject: selecting a constant or label in php
Groups: php.db 
Request: Send a blank email to php-db+get-31868@lists.php.net to get a copy of this message
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

« previous php.db (#31868) next »