Page 1 of 1

select all with variables... problem

Posted: Tue Jul 05, 2005 3:06 pm
by quince
can I use the select all and the variables like the c.$srtMe?

Code: Select all

$result = mysql_query(&quote;SELECT c.*, b.business_name FROM 

customer_contact_info c, business b WHERE c.$srtMe LIKE'%$question%' AND c.business_id = 

b.business_id ORDER BY $srtMe ASC LIMIT $page_a,$page_b&quote;);

Posted: Tue Jul 05, 2005 4:08 pm
by quince
never mind I thought it was the php, but it was the variable from flash.

Thanks anyway!