Adding Item to PHP $_SESSION['cart'][] = value not WORKING..
-
Hi guyz,
I have some issue with the wordpress Sessions.. I used the standard PHP $_SESSION[‘cart’][] = value to add an item to a session array. this works fine with plain php file but when i use the same file and code within the wordpress plugin its no longer working..
the output always shows 1 item even though i already added more items in the cart using this.. i also used the php array_push to insert an item but still no luck..
can somebody tell me how to solved this, i will be glad if there are people who can help me with this… peace and thanks in advance..
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding Item to PHP $_SESSION['cart'][] = value not WORKING..’ is closed to new replies.