|
-
Nov 17th, 2005, 08:28 PM
#1
Thread Starter
Admodistrator
And or etc..
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)){
-
Nov 17th, 2005, 11:10 PM
#2
Re: And or etc..
 Originally Posted by |2eM!x
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?
if you've tried working in C or Java they all look the same it should work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|