title: Retrieve search result on onchange event in form using php mysql
body: <p>I want to retrieve search results on onchange event in form using php mysql. Here is the code that I have tried so far:</p>
  
  
  
  <pre><code>    &lt;!DOCTYPE Html&gt;
        &lt;html&gt;
         &lt;head&gt;
        &lt;title&gt;PHP INSERT UPDATE DELETE SEARCH&lt;/title&gt;
       &lt;/head&gt;
        &lt;body&gt;
      &lt;form action="testing.php" method="post"&gt;
             &lt;input type="number" name="clientId" placeholder="Id" value="&lt;?php  echo $clientId;?&gt;"&gt;&lt;br&gt;&lt;br&gt;
             &lt;input type="text" name="clientName" required placeholder="First Name" value="&lt;?php echo $clientName;?&gt;"&gt;&lt;br&gt;&lt;br&gt;
            &lt;input type="text" name="clientNo" required placeholder="Last Name" value="&lt;?php echo $clientNo;?&gt;"&gt;&lt;br&gt;&lt;br&gt;
             &lt;input type="text" name="address" placeholder="Age" value="&lt;?php echo $address;?&gt;"&gt;&lt;br&gt;&lt;br&gt;
             &lt;div&gt;
  
  
                 &lt;!-- Input For Find Values With The given ID --&gt;
                  &lt;input type="submit" name="search" value="Find"&gt;
              &lt;/div&gt;
             &lt;/form&gt;
           &lt;/body&gt;
           &lt;/html&gt;
  </code></pre>