Fwd: Is it possible???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Error in my last post This is corrected:

$item_amount_in_store = 223;
$update_amount = 7;
$item_amount_in_Store += $update_amount;

It show the result = 227 and not 230. Why is this happen?

Karl

---------- Forwarded message ----------
From: Karl-Arne Gjersøyen <karlarneg@xxxxxxxxx>
Date: 2013/6/24
Subject: Is it possible???
To: PHP Mailinglist <php-general@xxxxxxxxxxxxx>


$item_amount_in_store = 223;
$update_amount = 7;
$update_item_amount_in_store += $update_amount;
$update_amoint_in_store is now 227;

Why? That should be 230!

Karl



-- 
Hjemmeside: http://www.karl-arne.name/

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux