Simple Sign in and Account Management Module using PHP

Simple login and account management module using PHP & MySQL. Using this module we have to perform login with session management, adding new user, edit & delete user. click here to download source code 1. Creating Database & Table Create a database in MySQL. For example, I've create database "account" for more details

Simple PHP MySQL Pagination Script

Pagination is a frequent requirement part for listing large number records from the database. In this post we will see how to implement pagination for your web development projects. Consider a student profile database with three columns (Register Number, Name and Class).  We will display only 10 records per page. The pre

PHP file inclusion function include() vs require() vs include_once() vs require_once()

PHP file inclusion function include() vs require() vs include_once() vs require_once()

In PHP, insert the same PHP, HTML, or text on multiple pages using include(), include_once(), require() and require_once(). In this article we are going to see real differences between them with an example. Menu page menu.php <?PHP echo '<a href="home.php">Home</a> - <a href="about.php">About</a> - <a href="contact.php">Contact</a>'; ?> include function When you want to include a file within

Upload multiple files using PHP

http://www.tricing.com/upload-multiple-files-using-php/

In my previous post, upload a single files, rename a file, file size validation, file type validation. In this, How to upload multiple files using  PHP.  Link for previous posts as follow. Click here - Upload a single file using PHP Click here - Upload a single file using PHP - II

Upload a single file using PHP – II

Upload a single file using PHP

In the previous post, we've seen how to upload a file using php. In this post, how to rename a file and validate file size and type. Rename a file First, lets create the form with enctype "multipart/form-data", method "post"  and input tags file, submit using the html: <form method="post" enctype="multipart/form-data" > <input type="file"

PHP MySQLi Create, Read, Update and Delete – 2

php-mysqli-crud

In previous tutorial how to creating a connection, creating a database, creating a table using PHP MySQLi. Click here to view. In this tutorial, I have to share how to Inserting data Reading data Updating data Deleting data Deleting a table Deleting a database Inserting data Syntax for the insert data in to a table. $sql = " INSERT INTO table_name (

PHP MySQLi Create, Read, Update and Delete – 1

php-mysqli-crud

For dynamic website, web application MySQL play an important role. The term MySQLi means MySQL Improved. MySQLi work with MySQL version 4.1.13 or newer and PHP version 5.0.0. Today I will share how to create, read, update and delete (CRUD) data in database using PHP MySQLi. In this tutorial. How to,

How to redirect non-www to www using htaccess (Vice versa)

apache-redirect-http-to-https-using-htaccess-rewrite-rules

For a website or web application user to access the website with or without "www" (e.g. techdasher.com or www.techdasher.com) for same page. It will be consider as "duplicate content". Due to this website rank to be drop. The advantage of redirecting a website -> An unique website url avoid to split the page rank. -> Website

Top