How to Create Secure Registration Page in PHP/MySQL Part I
By secured we mean that we need to sanitize the data that is passed to our script in order to secure the registration of new account or user.
There are three different types of connectivity in MySQL. They are:
mysql = old MySQL function
mysqli = improved MySQL function
pdo = using prepared statement
Mysql_connect is currently not supported in PHP version 5.5.0.