Re: Fwd: Is it possible???
| From: | Sachin Raut | Date: | Mon, 24 Jun 2013 12:29:55 +0000 |
| Subject: | Re: Fwd: Is it possible??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321474@lists.php.net to get a copy of this message | ||
variables are case-sensitive.
$item_amount_in_store is different from
$item_amount_in_Store
1st variable contains all lowercase characters, while the 2nd one contains
"S" uppercase character.
happy coding
sachin
On Mon, Jun 24, 2013 at 5:32 PM, Karl-Arne Gjersøyen <karlarneg@gmail.com>wrote:
> 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@gmail.com>
> Date: 2013/6/24
> Subject: Is it possible???
> To: PHP Mailinglist <php-general@lists.php.net>
>
>
> $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/
>