i have set up an array like this...
<?
$myCart = "myShopping Cart";

$$myCart = array("items"=> array(),"qty"=> array());
?>

i am inserting an entry by:
<?
$$myCart["items"][] = $item1;
$$myCart["qty"][] = $qty1;
?>

but i am getting an error of an undefined variable 'm' of which the first
letter of $$myCart...

how can i insert an entry to this kind of array? pls help.

thanks..







-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to