MySQL Forums
Forum List  »  PHP

Re: where statement with OR matching placeholder
Posted by: Peter Brawley
Date: August 23, 2022 11:23PM

...WHERE (col1 = ? OR col2 = ?)..., parens are optional unless needed to demarcate from other WHERE conditions.

Options: ReplyQuote


Subject
Written By
Posted
Re: where statement with OR matching placeholder
August 23, 2022 11:23PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.