On Wednesday 06 August 2003 18:19, Dean Baldwin wrote:

> I am porting a vb application across to php but have come up against a
> small problem. The code uses the Mod calculation however I cannot find any
> Mod in php. The line of code that uses it looks like:
>
> Data = (index Mod 16)
>
> Anybody have any ideas how I recreate this in php? Both data and index are
> integers.

manual > Operators

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Putt's Law:
        Technology is dominated by two types of people:
                Those who understand what they do not manage.
                Those who manage what they do not understand.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to