Hi all, I have a shopping cart for a mobile repair company, when a user adds something to their basket, the basic details of the phone are added, then the actual repair (such as a screen replacement, new battery, etc) are added under the options element of the array. How can I add to the options array when a customer adds another repair to their basket for the same phone? Hope I’ve explained well enough…
[INDENT] bart at framers dot nl26-Sep-2001 10:16 Array_push also works fine with multidimensional arrays. Just make sure the element is defined as an array first.
Side note: What you’ve defined there is not a multidimensional array. I -think- you did this just as an example, but what you meant was an array of arrays…