title: Searching MySQL in multiple columns and find which column matches
body: <p>I need some advice on how to accomplish this. If I have a query like
  SELECT * FROM <code>catalog</code> WHERE <code>record_id</code> = $var OR <code>form_id</code> = $var;</p>
  
  <p>What I want to do is to know which column matched. Was it the record or form?</p>