How can I search a keyword in multiple columns in mysql syntax?
Now I have a variable $phone, that store the form input, and use the syntax to search in a single column:
SELECT * FROM db.table WHERE 'phone1' = '".$phone."';
How I make that search through columns 'phone1', 'phone2', 'phone3' and 'phone4'?
Thanks
$phoneaccordingly, too?