I want to be able to add to this array:
Code: Select all
$patientTreatments=array($patientId=>$treatmentSelect);
The problem is when I try to addadditional values i.e. in a loop, it does not store all values, just one.
How does one add to this collection of arrays?