Hi Friends Please anyone tell me what is the difference between mysql & mysqli? Thanks & Regards Katypeterson
why starting something that is already all over the internet https://www.google.co.uk/search?q=difference+between+mysql+&+mysqli
To quickly sum up what the big difference is; MySQLi supports newer versions of MySQL and all of its features MySQLi supports the "new" password hashing introduced in MySQL 4.1 MySQLi supports prepared statements MySQLi comes with an optional Object Oriented interface MySQLi is supported, ext/mysql is pretty much only security bug fixes-mode (its marked as deprecated and its subject to removal in a soon future version of PHP (not 5.6)) MySQLi is faster than ext/mysql MySQLi exposes more of the MySQL C API than ext/mysql does Thats the basic headlines you should consider, the manual also have some great pages in regards to MySQL extensions: http://docs.php.net/manual/en/mysql.php http://docs.php.net/manual/en/mysqli.php http://docs.php.net/manual/en/mysqlnd.php (MySQL Native Driver, the alternative to libmysql should you be interested in some more in-depth knowledge of MySQL in PHP)