I put values into an array in one function and I want to pass them to another function. I tried:
listSessions($sessionIDArray);
this isn't passing all my values.
Alright this is what's happening: From the listSession function, if you click on "add to cart" it takes you to addSession function where the "sessionID" is put into $sessionIDArray. I want to keep this value in the array as I go back up to "listSessions" function to allow them to add another session to the cart (which would take you back to the "addSession" function.
I don't know if anyone understood that. But if you did, Any help would be greatly appreciated!
Thank you!