What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » % sign in PHP

% sign in PHP
Author: Message:
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
O.P. % sign in PHP
While I was trying to get my new shoutbox (which I downloaded and was supposed to work right away) to work, I found this line
code:
if ($c%2) {
What does that % sign mean?
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
04-20-2006 07:29 AM
Profile E-Mail PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: % sign in PHP
$a % $b  |  Modulus  |  Remainder of $a divided by $b.

http://uk.php.net/manual/en/language.operators.arithmetic.php
04-20-2006 07:33 AM
Profile PM Find Quote Report
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
O.P. RE: % sign in PHP
Thanks.

Hint: Link to php.net rather that uk.php.net, that way, the follower of the link ends of at their fastest mirror, instead of your fastest mirror.
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
04-20-2006 07:40 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On