BSumrall wrote:
It doesn't like the curly brackets either! Brad
if this is within PHP, the '{' and '}' are within double quotes (which they seem to be), These examples should all do the same thing. $query_Recordset1 = "SELECT * FROM lstng_tbl WHERE price_range = '$select1'"; $query_Recordset1 = "SELECT * FROM lstng_tbl WHERE price_range = '{$select1}'"; $query_Recordset1 = "SELECT * FROM lstng_tbl WHERE price_range = '".$select1."'"; echo $query_Recordset1; place an echo just after including the variable and see if you see the brackets in the statement. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php