The Cart in Codeigniter 3 |
New at the cart and struggling a little.
I am trying to send multiple updates through a multidimensional array from the view to the controller and I am having troubles, below is my view code: Code: <?php $i = 1; ?> I have pretty much copied the code from the user guide but I am a little unsure on how to update the cart in the controller, I have started the below: PHP Code: function update_cart() { I am a little unsure on how to create a multidimensional array and update all basket items. I have it updating the last one but cant do them all. Thanks for your help. |
Messages In This Thread |
The Cart in Codeigniter 3 - by mattnewark - 12-10-2015, 03:58 AM
RE: The Cart in Codeigniter 3 - by Martin7483 - 12-10-2015, 06:31 AM
|