我在显示结果的搜索引擎中有一个错误。这是代码:
$nmanufacturer = $tApplication[2];
$manufac = mysql_query("SELECT * FROM tManufacturers WHERE nManufacturer='$nmanufacturer'");
$manufacts = mysql_fetch_array($manufac);
//nom du constructeur
$contruct = $manufacts[1];
?>
<select class="form-control">
<option><?php echo $contruct; ?></option>
</select>
问题是选项元素只显示一个结果但是数据库中有很多结果
希望你能帮助我伙计们!