On my site a user enters an account number and I have a script to show the business name belonging to that account number, however the account number could be in 2 columns.
I have the below code to search 1 of the columns (personID);
sql="SELECT * FROM member WHERE personID = '".$q."'";
How do I edit this code to search 2 columns (personID & another column) for the account number?
WHERE personId = 'something' OR other_column = 'something'