I want to dynamically create an associative array where we can assign multiple values to one key in php. That is each key behaves itself as an array. Eg
$array=[$one->'1','2','3';
$two->'4','5';
$three->'1']
I will dynamically receive values for every key in a loop, so i cannot initialise the entire array statically.Please give the entire php code for this.