Filter

Sir I am using these codes

[PHP]


Filter

<?php $sql = "SELECT * from contacts order by name" ; $select = mysqli_query($con, $sql); $run_sel = mysqli_fetch_array($select); $row=mysqli_num_rows($select); //echo ($row); $a = 1; while($a<=$row) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $run_sel = mysqli_fetch_array($select); $a++;

}
?>


ID Name Mobile City Country
" . $run_sel["name"]. " " . $run_sel["moba"]. " " . $run_sel["city"]. " " . $run_sel["country"] . "

[/PHP]

These code display following data

Now I want to apply incremental search with Filter box.

For example:

If I type “B” then all matching records (name field in table) which begins with “B” must appear in display list.

Please help

Look into ajax live search

Sponsor our Newsletter | Privacy Policy | Terms of Service