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%== 0)||($i != 0)){