View Single Post
Old 08-11-2010, 03:42 PM   #1 (permalink)
haskabab
The Visitor
 
Join Date: Jun 2010
Posts: 4
Thanks: 1
haskabab is on a distinguished road
Default Don't know what this does

I was following a tutorial I found about some database class and it uses the following code:

Code:
if($i%2 != 0){
    /**/
}
My question is: what does the %(int) do? Divide the $i var?

Thanks in advance.
Send a message via MSN to haskabab
haskabab is offline  
Reply With Quote