Originally posted by Cogen
Here's another crack at it. Maybe you or someone else could tell me were I'm going wrong?🙁
$mVariations[][];
Should be
var $mVariations;
$mVariations = array(
array(strName=>"", intPrice=>"", blnIncluded=>false)
);
Should be
$mVariations = array(
array("strName"=>"", "intPrice"=>"", "blnIncluded"=>false)
);
You can also have
$mVariations[] = array("strName"=>"foo", "intPrice"=>"123", "blnIncluded"=>false);
$mVariations[] = array("strName"=>"bar", "intPrice"=>"456", "blnIncluded"=>true);
etc.