select all with variables... problem
Posted: Tue Jul 05, 2005 3:06 pm
can I use the select all and the variables like the c.$srtMe?
Code: Select all
$result = mysql_query("e;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"e;);