title: How to search value from MySQL table as per multiple column value using PHP
body: <p>I need to search table's for a mobile, first name or last name and return the row in the table using PHP and MySQL. My tables are below.</p>
  
  <p>db_user:</p>
  
  <pre><code>id           mobile        info_id             status    
  1            9937229870    12                  1   
  2            1234567892    13                  1
  3            2123212324    14                  1
  </code></pre>
  
  <p>db_user_info:</p>
  
  <pre><code>info_id      fname         email               lname    
    12         Jay           as@gmail.com        Roy   
    13         Jarin         aw@gmail.com        Raot        
    14         Stoks         aq@gmail.com        Dravid
  </code></pre>
  
  <p>db_skill:</p>
  
  <pre><code>skill_id     info_id       category
  1            13            cat1
  2            14            cat2
  3            15            cat3
  </code></pre>
  
  <p>For example if a user has the name Jay Roy and their email is aw@gmail.com and the mobile is 2123212324 then it would return:</p>
  
  <p>db_user_info:</p>
  
  <pre><code>info_id      fname         email               lname    
  12           Jay           as@gmail.com        Roy   
  13           Jarin         aw@gmail.com        Raot
  </code></pre>
  
  <p>db_user:</p>
  
  <pre><code>id           mobile        info_id             status
  3            2123212324    14                  1
  </code></pre>
  
  <p>How can I do this? </p>