PDO

Submitted by: 
This Login and Register function is for the beginners in PDO query in PHP/MYSQL. In this project you will learn how to create Login and Register function using PHP and MYSQL in PDO query. Username: amy Password: amy
Submitted by: 
This is a continuation of the topic that I have discuss yesterday on How to Create Secure Login Page in PHP/MySQL . Since PDO is too complicated compared with mysqli, I decided to separate this tutorial. So, here we go. login.html Modify the code on our previous tutorial from: to login3.php <?php $username = $_POST [ 'username' ] ; $password = $_POST [ 'password' ] ; $conn = new PDO ( 'mysql:...
Submitted by: 
In our last two articles, we discuss on how to create a registration page using mysql and mysqli extension and how to secure it using mysql_real_escape_string or mysqli_real_escape_string. This time we will modify our code to use PDO instead of mysql or mysqli extension. Before we begin, let’s give some few advantages of using PDO in favor of mysqli. Portability – supports 12 different drivers...
Submitted by: 
This is a simple Ajax PHP login with welcome page using MySQL database and PDO query that will save you from sql injections. If the user log ins with the wrong username or password, the login box will shake. To begin, follow given steps: 1. Extract files and put the folder shakeLogin in your www(wamp) or htdocs(xampp) directory. 2. Open phpmyadmin and create a database named `wall` 3. Go to that...
Submitted by: 
This project will teach you on how to make a CRUD (Create Record Update Delete) using PHP/MySQL and PDO Query. Why PDO? Because mysql functions are getting deprecated. PDO is safe from sql injections and it will make you far more productive. Just download the file, put it to your www folder(wamp) or htdocs(xampp) and upload the database in phpmyadmin. Enjoy and happy coding! :) If you need more...
Submitted by: 
This is just a SIMPLE add, read, edit, search and delete web system using PHP/Mysql and PDO (PHP Data Objects). It is made for newbie developers, for them to understand it easily and can also be use by developers who are new to PDO. To give you ideas at the same time on how it works. Just email me at [email protected] or visit my website: www.mainecalsas.com if there are questions. For more...
Submitted by: 
This tutorial will teach you on how to create a content pager using PHP/MySQL. I uses PDO query to retrieve the data from database table. This tutorial is useful when you have multiple data from the database. This code divide the content and display by page. To start this tutorial fallow the steps bellow: Creating Our Database First we are going to create our database which stores our data. To...
Submitted by: 
SQL Attack is rampant now a days, this is the way of hacking a site using SQL injection. Reading this tutorial will teach you on how to protect your queries from SQL injection attack using PDO Query. PHP Data Objects (PDO) Query executes an SQL statement in a single function call, returning the result set (if any) returned by the statement as a PDOStatement object. This is code will help you on...

Pages