PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a shopping cart that uses the setcookie session. When you add an item into the cart it removes the item from the database and stores the value in a new table under the sessionid.
The problem comes when the user decides not to check out and closes their browser. The items are now tied up in the temp database. I need help developing a function that will reverse this.
Thank you for responding. I thought about doing that, but the problem is returning the values to the other database. If they were purchased that would be one thing but if they weren't and the window was closed...then the timestamp would return all purchased and not purchased to the original database.