xwishmasterx Posted August 14, 2008 Share Posted August 14, 2008 Hello I am triyng to make a really simpel calculating. All I need is multiplitaion. I found this on the net: <?php /* tested under PHP 5.2.6-1 with Suhosin-Patch 0.9.6.2 (cli) on both i386 and amd64, Debian lenny/sid */ $a = 2863311530; $b = 256; $c = $a % $b; echo "$c <br />\n"; echo (2863311530 % 256)." <br />\n"; /* directly with no variables, just to be sure */ ?> But this doesn't work. The result on my page is: /n"; /* directly with no variables, just to be sure */ ?> Not really what I was going for..:-) Anybody knows how to create a simple x*y "script"? Regards, Casper Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.