我不想这样做,但返回却无效?
$query_1=$field_name[0]."= {".$field_value[0]."} ";
之后
getType = mysql_query("SELECT * FROM wines WHERE $query_1") or die(mysql_error());
虽然如此:
$getType = mysql_query("SELECT * FROM wines WHERE $field_name[0]= {$field_value[0]} ") or die(mysql_error());
罚款。
is this even possible, or am I missing something too obvious? thank you in advance!