why aint this working?


Posted on 16th Feb 2014 07:03 pm by admin

i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rcount;
echo "
";
echo $count;

when i echo $rcount it gives me 153...

so my calculations is 250-153 = 97.


but for some reason $count is echoing: 249.


anyone know what im doing wrong?

No comments posted yet

Your Answer:

Login to answer
194 Like 8 Dislike
Previous forums Next forums
Other forums

how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service

How to file_get_contents when login required?
Hello!

I am trying to read data from a page that you have to be logged into to view, I am try

Help adding strtolower( to my in_array
strtolower i need to add it to this to work, iuno how.

Code: $moderators = array('Admin', 'ba

Users and Groups with PHP Classes
Hi,

I have setup what I hope to be a good working User class. Now I want to introduce group m

Help With Showing Users On the Index Page
Ive got this code which works just how i want it to.

Code: <?
$timenow=time();

unexpected T_SL without a shift left token
Nothing too see here, I'm an idiot and resolved the problem.

constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main

Putting double spaces instead of single spaces
Im looking at trying to replace all single spacing between fields with double spacing

At pres

Material Issuing for receiving batch
Dear All experts in MM/ PP,

Material issuing from main stores to factory is currently usi

PHP page loading in Firefox but not in IE
hello,

i am currently doing a project in PHP and i have a problem. If I view the project in M

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash