Quantcast
Channel: User Oswald - Stack Overflow
Viewing all articles
Browse latest Browse all 36

Comment by Oswald on How to use AND/OR in if else PHP statement

$
0
0
Using AND makes it complicated. You would need a condition like !(!stristr($A,'Erorr Email') && !stristr($A,'Erorr Password')). Use stristr($A,'Erorr Email') || stristr($A,'Erorr Password') instead.

Viewing all articles
Browse latest Browse all 36

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>