$sql_a="selete id from A like 110% or like %110"$query_a=mysql_quey($sql_a)$rs_a=mysql_fetch_array($quey_a)$sq