PHP

PHP PHP PROJECT WEB DEVELOPMENT

How to Create Password Hashing in PHP

Functions for hashing password password_hash() password_verify() password_hash() – Syntax:

string $password – Password provide by user integer $algo –   Password algorithm constant(PASSWORD_DEFAULT and PASSWORD_BCRYPT) PASSWORD_DEFAULT – uses the BCrypt algorithm to create the hash PASSWORD_BCRYPT –  uses the CRYPT_BLOWFISH algorithm and will return a 60 character string $options –  $options have two indexes.One is cost and another one is salt. Cost-  Cost […]

Fetch Data in Excel or Generate Excel file in PHP
CSS DEMOS HTML MYSQL PHP PHP PROJECT

How to Fetch Data in Excel or Generate Excel file in PHP

File structure for this tutorial : config.php (database connection file) index.php (For fetching data ) genrate-excel.php (For genrating excel file) Create a sql table tblemployee. Structure of sql table employe .

Now insert some data into this table.

Index.php in this file we will  read the data from database.

genrate-excel.php in this […]

CSS DEMOS HTML MYSQL PHP PHP PROJECT WEB DEVELOPMENT

Creating a web chat with PHP and MySQL

In this Tutorial, I’ll show you how you can write your very own web-based Chat App using HTML, CSS, JavaScript/jQuery, PHP and MySQL. For a full functioning Web-Chat we’ll need three basic components: A Client-Side HTML Document that sends the Chat Text and receives Data from the database A PHP file which writes user input […]

DEMOS PHP WEB DEVELOPMENT

How to create pagination in PHP

File structure for this tutorial : config.php (Database configuration file) index.php (Main file) tbluser.sql (SQL Table structure with dummy data) First create a table tbluser. Sturcture of tbluser :

Insert some data into this table. We will use LIMIT clause for generating pagination.LIMIT clause uses two arguments one is OFFSET  and second one is the number of records return from […]

CSS HTML MYSQL PHP WEB DEVELOPMENT

Contact form with mail function and Storing data in the database

Contact form with mail function and Storing in the database project has two module : User Module admin Module User Module Sql table structure for tblcontactdata table where we will store our data

Now create a HTML for user inputs. index.php

MYSql database connection

Insert Data into Database