I want to append an element to to end of an associative array.
For example, my array is
$test=Array ([chemical] => asdasd [chemical_hazards] =>
Just add it like you would with a non-associative array:
$test = array('chemical' => 'asdasd', 'chemical_hazards' => 'ggggg'); //init $test['solution'] = 'good';