Category: PDO

PHP Email Verification Script using PDO Extension 0

PHP Email Verification Script using PDO Extension

In this tutorial, we will learn how to verify a registered email id using PHP PDO extension. This tutorial include following files1.Registration file(index.php)2.Email Verification file(email_verification.php)3.Login file(login.php)4. Welcome file(welcome.php)5. Logout file(logout.php)6.Database Connection(config.php)Database include one table(userregistration)Structure...

php crud operation using pdo extension 8

PHP CRUD Operation using PDO Extension

In the previous tutorial we learned about PDO Extension. In this tutorial we will learn CRUD operation using PDO Extension.CRUD Stands for create, read, update and delete record in the database. File Structure for...

Use PDO to Insert Data’ 2

How to use PDO to insert data into the database?

The SQL code for the users table: CREATE TABLE IF NOT EXISTS users (id int(11) NOT NULL AUTO_INCREMENT, name varchar(60) DEFAULT NULL, phone varchar(12) DEFAULT NULL, city varchar(60) DEFAULT NULL, date_added date DEFAULT NULL,...

PHP Data Objects 2

PDO – PHP database extension

PDO (PHP Data Objects) is a PHP extension through which we can access and work with databases. Though PDO is similar in many aspects to mySQLi, it is better to work with for the...