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

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

 formating when pulling data from a mysql database 
Ok so Im not to sure if this is the right thread to post in but here is my catch 22 issue.

I

script is pulling more then they have....
I have this script for my game where they can change there race. This will cost them 2,500 points. H

Aris, Netweaver BPM, Visual composer and X'app
Dear Experts,

Whats the relationship between the following components: Aris, Netweaver BP

All possible combinations of Strings from table in PL/SQL
Hi,

I am trying to figure out how to build a list of all possible string combinations fro

download directory onto C drive
I am attempting (if this is possible) to write a routine to automatically dump the contents of a dir

DBCA Templates
Hi all,

I'm working on creating a template for DBCA, but can't find any documentation on the

private constructor
Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can'

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

Encrypt php code?
Is it possible to encrypt php code in files,
so that it displays a load of unreadable characters

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