03-04-2008, 01:38 PM
|
#9 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Posts: 87
Thanks: 49
|
No matter, I thought of a better solution:
When a user logs in, their username is stored in a cookie. I then store that cookie in a $username variable on the products page. This allows me to $_GET the username from the url and insert it into the cart table when they select an item. In turn allowing me to display all the items added by that user.
Took a bit of thinking, but I got it in the end!  Now I need to check if a row already exists, and if it doesn't, run the query.
|
|
|
|