Hey guys! Today we will have a PHP shopping cart tutorial using cookies! Sounds delicious, isn’t it? But the cookie that we will use is not the cookie we eat. Let me explain.
In this tutorial, we’ll use the HTTP cookie, also known as the web cookie or browser cookie. It is usually a small piece of data stored in the user’s browser while the user is using the site. It is designed to be a reliable way for websites to remember useful information, such as shopping cart items, or to record any user activity on a website.