put values of 2 arrays under one key php code example Example: php array push one key multiple values $temp['value']=array('key1'=>'value1','key2'=>'value2');