can you please translate this one to PHP code..
VB Code:
if (x mod 2) = 0 then msgbox x mod 2 end if
actually i want to know what is the equivallent for MOD in PHP.. thanks!
Printable View
can you please translate this one to PHP code..
VB Code:
if (x mod 2) = 0 then msgbox x mod 2 end if
actually i want to know what is the equivallent for MOD in PHP.. thanks!
% is used to represent modulus in C like languages I do believe.
http://au2.php.net/operators.arithmetic
Thanks for the reply i don't know c or other c like languages(yet) heheh thank you so so much!