I came across something in my code today that made me wonder if theres a way to basicly incorporate two statements into one using something like a "OR" logic.
Basicly something like this:
Don't bite my head off, i'm sure thats not proper MySQL syntax, just trying to get my point across.
Thanks in advance.
Basicly something like this:
Code:
SELECT * FROM `table` WHERE `user` = "someUser" OR WHERE `email` = "something@bs.com"
Thanks in advance.
Comment