title: select * from table where column = value ^ column2= value
body: <p>I am creating a login system in PHP. I need a user to use either his or her username or email or phone number to login then the password. since I know in java we would do like <code>email==user^ username == user</code> does this apply in MySQL. Could I do something like this in MySQL?</p>
  
  <pre><code>Select * from user WHERE mail = 'user' ^ phoneNo= 'user' ^ username = 'user' and password = 'pass'
  </code></pre>
  
  <p>I have tried it and it failed. Alternatively, I use multiple <code>if</code>s in PHP and check one at a time like this</p>
  
  <pre><code>if (mail == user){
  }
  </code></pre>