php - Notice: Array to string conversion -
$land = $_post['land']; $resultxax = mysql_query("select * users land = '$land'") or die(mysql_error()); $number=mysql_num_rows($resultxax); echo $number;
why error?
$land
value of multiselect dropdownbox.
<select data-placeholder="choose country..." class="chosen-select" id="e9"multiple style="width:350px;" tabindex="4"> <?php include("../country_dropdown.php"); ?> </select>
try
$arrayval = join(',',$land); $resultxax = mysql_query("select * users land in ('$arrayval')") or die(mysql_error());
Comments
Post a Comment