php add to an associative array code example
Example 1: php append element to array
array_push($cart, 13);
Example 2: php add new item to associative array
$a = array('foo' => 'bar'); // when you create
$a['Title'] = 'blah'; // later
array_push($cart, 13);
$a = array('foo' => 'bar'); // when you create
$a['Title'] = 'blah'; // later