javascript - submit form when input auto complete pass with out refresh -


i want when post $name form submit automatic out refresh page echo out put other inputs

<?php  if(isset($_post['search'])) {     $name = $_post['model'];     $query = "select  `id`, `countity`, `cost` `product` name = '$name'";     $res = mysqli_query($conn,$query);     while($row = mysqli_fetch_array($res)){       # code...       $model = $name;       $id = $row['id'];       $countity = $row['countity'];       $cost = $row['cost'];     }  } else{     $model = "";     $id = "";     $countity = "";     $cost = ""; } ?> 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -