On 24 Jun 2013, at 12:59, Karl-Arne Gjersøyen <karlar...@gmail.com> wrote:

> $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!

Because you're using $item_amount_in_store and $update_item_amount_in_store as 
if PHP should know you mean the same thing.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to