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

Help on code output
My CODE:

Code: [Select] echo "<phone>".$line["phone"].&qu

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

values not being entered into table
hi. I;ve created a form, so that when a user enters data into it, it gets added to a table in a data

php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

insert PHP code into function
Hi,
I'm having problems when trying following:

I have:
Code: [Select]createBar("Do

max() problem
I have a while loop to get image names.
Code: $imagequery = mysql_query("SELECT * FROM ad_i

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

Getting a variable to work in function params
I have this fuction which is inside a class:

Code: public static function generateEmbedCode($

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

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