$land = $_POST['land'];
$resultxax = mysql_query("SELECT * FROM users where land = '$land'") or die(mysql_error());
$number=mysql_num_rows($resultxax);
echo $number;
为什么我会收到错误消息?
$land
是多选下拉框的值。
<select data-placeholder="Choose a Country..." class="chosen-select" id="e9"multiple style="width:350px;" tabindex="4">
<?php include("../country_dropdown.php");
?>
</select>