push multidimensional array with a key in php code example Example: php array push one key multiple values $temp['value']=array('key1'=>'value1','key2'=>'value2');