How do i use and, or, and other things inside an if statement?
i think its || and && but i cant get it working:
PHP Code:if (($i%4 == 0)||($i != 0)){
Printable View
How do i use and, or, and other things inside an if statement?
i think its || and && but i cant get it working:
PHP Code:if (($i%4 == 0)||($i != 0)){
it is right ( || and && ), what error did you have?Quote:
Originally Posted by |2eM!x
if you've tried working in C or Java they all look the same ;) it should work.