auto search the keyword in textarea
<p>This is my coding. This coding allows me to search the keyword in my database and it worked fine. But how can i search the keyword without click the search button? What i want is same as the search function in the google search. It can automatically help you search and review without hit any button.</p>

<pre><code>&lt;html&gt; 
  &lt;head&gt; 
    &lt;meta  http-equiv="Content-Type" content="text/html;  charset=iso-8859-1"&gt; 
    &lt;title&gt;Search  Contacts&lt;/title&gt; 
  &lt;/head&gt; 
  &lt;p&gt;&lt;body&gt; 
    &lt;h3&gt;Search  Contacts Details&lt;/h3&gt; 
    &lt;p&gt;You  may search either by first or last name&lt;/p&gt; 
    &lt;form  method="post" action="search.php?go"  id="searchform"&gt; 
      &lt;input  type="text" name="question"&gt; 
      &lt;input  type="submit" name="submit" value="Search"&gt; 
    &lt;/form&gt; 

    &lt;?php 
  if(isset($_POST['submit'])){ 
  if(isset($_GET['go'])){ 
  if(preg_match("/^[  a-zA-Z]+/", $_POST['question'])){ 
  $question=$_POST['question']; 

    $con = mysqli_connect("localhost","root","");
    mysqli_select_db($con,"search")or die(mysqli_error($con));;


  $sql="SELECT  id , question FROM question WHERE question LIKE '%" . $question .  "%'"; 
  //-run  the query against the mysql query function 
  $result=mysqli_query($con, $sql);

  while ($row=mysqli_fetch_array($result)){ 
          $question  =$row['question'];  
          $id=$row['id']; 

  echo "&lt;ul&gt;\n"; 
  echo "&lt;li&gt;" . " " . $question .  "&lt;/li&gt;\n"; 
  echo "&lt;/ul&gt;"; 
  } 
  } 
  else{ 
  echo  "&lt;p&gt;Please enter a search query&lt;/p&gt;"; 
  } 
  } 
  } 
?&gt; 
  &lt;/body&gt; 
&lt;/html&gt; 
&lt;/p&gt; 
</code></pre>