Re: [PHP] Is it possible???
[email protected] (Stuart Dallas)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
On 24 Jun 2013, at 12:59, Karl-Arne Gjersøyen <[email protected]> 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/