It is object oriented
Supports to run more than one query at a time
More Secure
Connecting to MySQLi in Object Oriented way is as follow
<?php $sql = new mysqli('hostname','username','password','databasename'); ?>
Procedural way of connecting to database with MySQLi
<?php
$link = mysqli_connect('hostname','username','password','databasename');
?>
No comments:
Post a Comment