Web Programming

E-commerce Site from the Scratch- Part1

This the first tutorial for creating a simple e-commerce site with all basic features from the scratch. In this tutorial, we will learn how to design the database, the structure of the files and folder, and the designing index page of a ecommerce site that will sell furniture online. Step1: Create a database named ‘ecommerce‘. […]

Read More

Basic E-commerce site development part-3

The way to manage the website that was implemented in the previous tutorials has shown in this tutorial. Follow the steps to complete task of this tutorial. Step-1: Change the user type to admin from the users table of the database. Step-2: Create add_page.php file under html folder with the following. <?php require(‘./includes/config.php’); // If […]

Read More

Basic E-commerce site development part-2

The registration and login processes of the user have shown in this tutorial. Do the following steps to complete the tutorial. Steps: Modify the index.php file inside the html folder to omit the default session information. So, commented the following lines. /* $_SESSION[‘user_id’] = 1; $_SESSION[‘user_admin’] = true; $_SESSION[‘user_not_expired’] = true; */ 2. Add the […]

Read More

Basic E-commerce site development part-1

In this tutorial, we will learn the way to design the basic database of a simple e-commerce site and create the structure of the file to connect with the database and design the basic front page. Steps: 1. Create a database named ecommerce and run the following SQL statements to create the required tables. CREATE […]

Read More

PHP CRUD operation with Bootstrap and JQuery

The way to perform simple CRUD operation using MySQL database without any form has shown in this tutorial. The basic knowledge of HTML, Bootstrap, CSS, PHP and MySQL is required to understand the tutorial. A simple MySQL table has created and used in this tutorial to show the CRUD operation. Pre-requsite: A. You have to […]

Read More

HTML Template design using Bootstrap 5

Many new features have been added in the bootstrap 5 to implement a template with a more attractive look without less use of JQuery. The way to design a very simple HTML template using bootstrap 5 has shown in this tutorial by adding multiple parts of the template step by step. Before starting this tutorial, […]

Read More

How to install and run Django on Ubuntu

Django is a very popular framework of Python to develop a web application. It works like MVC based framework. SQLite database is used in Django by default. But it supports other popular databases also. How you can install Django 3+ on Ubuntu 20.10 and run the Django development server is shown in this tutorial. Install […]

Read More

How to send email in PHP using mail() function on windows

mail() function is a useful function of PHP to send email using PHP script. You will require to set up some configurations to use this function. How the mail() function can be used to send email in PHP is shown in this tutorial. Setup Configuration: Two files will be required to modify to set up […]

Read More

Create Simple REST API CRUD with PHP and MySQL

You can develop REST API CRUD using PHP and MySQL easily. This tutorial will help you learn the way to develop REST API with PHP and MySQL from the basics and test the API using the postman app. Steps: 1. Create a database named apicruddb. 2. Create employee table CREATE TABLE IF NOT EXISTS `Employee` […]

Read More

How to create and use simple RESTful API using PHP and MySQL

RESTful API is widely used in web and mobile application now. The full form of REST is REpresentational State Transfer (REST). The data are managed over the Internet using this service. It refers to a resource and the representation of the resource is stateless. The full form of API is Application Programming Interface. The rules […]

Read More