Posts

Showing posts from November, 2024

Shoppingcart using PHP Sessions - Miniproject

Image
Shopping cart using PHP Sessions, MySQL In this tutorial, you are going to learn how to build a simple shopping cart project using PHP and MySQL. It is a basic project aimed for beginners . This project uses PHP Session to implement shopping cart. Within the session, a cart is created. Sessions allows you managing the products in the cart. Such as… adding product to the cart,  modifying the product quantity,  deleting the product finding the total number of products in the cart. etc.   Download source code from the given link: Note: Scan the code with antivirus and use it. Download Here are steps to accomplish the project. Just follow them. STEP-1   Create a project in a server. Create an image's folder inside the project folder. As given in the picture. Copy some sample products images in that. GO TOP↑   STEP-2: Start server. Open PhpMyAdmin tool in a browser, Create a database, with name shoppingcartdb. Create Table. And insert Data using the given queri...

PHP Goggle Login for Website

Image
How To Add Google Login to PHP Website           Nowadays, many websites allow the users to instantly log in with their social media accounts such as Google, Facebook, Twitter, Linked-in etc. With this, he doesn't need to create a separate account in that website in order to use it. This tutorial will teach you, how to integrate a Google login to a PHP website. There are only four steps to log in with Google PHP SDK: Create a Google credentials for your application, using this link . Create an application on the web server. Create Database usersdb in MySQL. Download Google SDK. Integrate Google Login and Get User Information     TOP ⬆ 1. Create a Google credentials for an application. Once you got credentials, start creating project in server. And follow the step-2. 2. Create an Application on Server and Create Database in MySQL.  Project folder: Query for Table:  Create the table in the database, with this query, given down below. -- -- Ta...