<input list="plants" placeholder="Search" name='search' style='width:400px;'/> <datalist id='plants'> <?php $query_plants=mysql_query("select plant_id,plant_name from plants where status='plant'"); while($get_query=mysql_fetch_array($query_plants)) { $x=$get_query[0]; $y=$get_query[1]; echo"<a href='view/product-details.php?id=$x'><option value='$y'>$y</option></a>"; } ?> </datalist>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)