Re: Re: Operand error...

From: Date: Thu, 08 Aug 2013 17:51:29 +0000
Subject: Re: Re: Operand error...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-321819@lists.php.net to get a copy of this message
On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote:
2013/8/8 Jim Giner <jim.giner@albanyhandball.com>
On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote:
$oppdater_lager_med_antall_kg = $kg_pa_lager + $kg_fra_transportdokument_inn_**pa_valgt_lager; result: *Fatal error*: Unsupported operand types in * /Users/karl/Sites/kasen/io/kp/**index.php* on line *2970 *I have also tried this: $kg_pa_lager += $kg_fra_transportdokument_inn_**pa_valgt_lager; Both of them return this Fatal error. I am using Dreamweaver CS6 and the syntax check in my software say: "No syntax error" What am I doing wrong this time? Thanks for your good advice! Karl You do a var_dump on each variable to see what type they were defined as.
NULL array(2) { [0]=> string(3) "100" [1]=> string(3) "340" } That is one var. What is the other var?


« previous php.general (#321819) next »