How to get similar records from database and show in popup using php
<p>I Have 3 html fields when entered the values and click on find similar records button we have to get the similar records which are present in database table.</p>

<p>The 3 html fields were there in 3 different tables in database. How can i achieve this using php.</p>

<p>HTML Code:
    
     
       User Form 
     </p>

<pre><code> &lt;body&gt;
    &lt;div style="text-align: right;"&gt;
        &lt;input type="button" name="similarRecords" value="Find Similar Records" ononclick="similarRecords();" /&gt;
    &lt;/div&gt;
    &lt;table&gt;
        &lt;tr&gt;
            &lt;td&gt;User Name:&lt;/td&gt;
            &lt;td&gt;&lt;input type="text" name="userName" /&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Email Id:&lt;/td&gt;
            &lt;td&gt;&lt;input type="text" name="email" /&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;X Id:&lt;/td&gt;
            &lt;td&gt;&lt;input type="text" name="xId" /&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
 &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I have thought about zend lucene (as i am using zend framework) but is there any other approach to it.</p>

<p>Please suggest me best way to to do it.</p>
