Simple PHP setting arrays with keys question

From: Date: Tue, 10 Jul 2007 00:29:36 +0000
Subject: Simple PHP setting arrays with keys question
Groups: php.general 
Request: Send a blank email to php-general+get-258522@lists.php.net to get a copy of this message
I'm having a little problem assigning a value to an array which has a key. It's simple, I just don't know what I'm doing wrong.
               foreach($Checkout as $value)
              {
                  $products[] = $value['productName'] -> $value['actualValue'];
               }
HELP!

« previous php.general (#258522) next »