Sir I am using these codes
<div id="search">
<label for="filter">Filter</label> <input type="text" name="filter" value="" id="filter" />
</div>
<br />
<table cellpadding="2" cellspacing="0" width="90%" id="resultTable">
<thead>
<tr>
<th> <strong>ID</strong> </th>
<th> <strong>Name</strong> </th>
<th> <strong>Mobile</strong> </th>
<th> <strong>City</strong> </th>
<th> <strong>Country</strong> </th>
</tr>
</thead>
<tbody>
<?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 "<tr>";
echo "<td> <a href='contacts.php?id=".$run_sel['id']."'>
<img border=\"noborder\" src=\"images/pencil.png\" title=\"Display\"></a></td>";
echo "<td align='left'> " . $run_sel["name"]. "</td>";
echo "<td> " . $run_sel["moba"]. "</td>";
echo "<td> " . $run_sel["city"]. "</td>";
echo "<td> " . $run_sel["country"] . "</td>";
echo "</tr>";
$run_sel = mysqli_fetch_array($select);
$a++;
}
?>
</tbody>
</table>
These codes display following data
[IMG]http://i43.tinypic.com/or45r8.jpg[/IMG]
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