why aint this working?


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

i have this code:

Code: $num = 250;
$count = ($num - $rcount);
Did you know?Explore Trending and Topic pages for more stories like this.

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

Help, Base64 encoding url and decoding server side.
Hello everyone, i have a website with videos and games and also provide an embed code which people c

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo

php problem?
I don't think I'm stupid, but maybe I am.

I am working on a sit for a friend I am try to put

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

From Header Showing 'Unkown' In Hotmail? Why?
Code: $to = $row_GetID['email_addr'].',sales@mywebaddress.co.uk';
$subject = 'Thank you for you

user administration
Dear @all,

what I have to do to set the user defaults for new users. At the moment I woul

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

Help with PHP Calendar code...
Hello, I'm new to this forum and I'm glad I found it.
I wrote this code for a PHP calendar as an

Something Non-Traditional. Can we solve?
I have an idea for an application here. It's mostly flash, but it couldn't work without a somewhat n

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