PHP Shopping Cart Tutorial using MySQL database

This PHP shopping cart tutorial using MySQL database will help you create a shopping cart system using PHP and MySQL. Previously, we learned how to create, read, update and delete database records on our PHP OOP CRUD tutorial. We will apply that knowledge by building a simple PHP shopping cart application. Overview In some cases,… Continue reading PHP Shopping Cart Tutorial using MySQL database

PHP and MySQL Shopping Cart Tutorial Using COOKIES

Previously, we have learned how to code a shopping cart using PHP SESSIONS. Today, we will learn a second way to do it. 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… Continue reading PHP and MySQL Shopping Cart Tutorial Using COOKIES

PHP OOP CRUD tutorial & free source code

Today’s article is about the PHP OOP CRUD tutorial. OOP stands for Object-oriented programming. CRUD stands for Create, Read, Update, and Delete. We’re going to do more than CRUD. I will show you how to create, read, update, delete, and search data using PHP PDO and MySQL. We’ll also cover how to upload a file… Continue reading PHP OOP CRUD tutorial & free source code

Generating JSON String with PHP

Today I’m going to share this code I used to generate a JSON string with data from MySQL database. For those not yet familiar, JSON is a lightweight data interchange format (like XML but it is lightweight). It has been used by companies like Google and Facebook in their APIs. Recently, I needed a JSON string… Continue reading Generating JSON String with PHP

Email Activation Code in PHP

Email activation or verification is one requirement when you’re building an app with a membership feature. Our Email Activation Code in PHP will help you with that! This is one way to detect if there’s really a person behind the submitted email address. An email address is considered invalid if no person was able to… Continue reading Email Activation Code in PHP

Published
Categorized as PHP Tagged ,

Apache .htaccess RewriteRule Examples with PHP for Clean URLs

Our code for today will make your website URLs clean and attractive. Clean URLs are user and SEO friendly, it does not contain any query string like: …page.php?param1=something&id=1111 Thus, giving our users and search engines (like Google) an idea what your link is all about once it was shared to social media or indexed by… Continue reading Apache .htaccess RewriteRule Examples with PHP for Clean URLs

PHP Shopping Cart Tutorial using Sessions

This post is about PHP Shopping Cart Tutorial using SESSIONS. Previously, we learned how to build a Shopping Cart with PHP & MySQL where we used a MySQL database to store products added to the cart. This time, we will use PHP session variables to store products added to the cart. Final output PHP Shopping… Continue reading PHP Shopping Cart Tutorial using Sessions

Back to top