Open a new connection to the MySQL server using PHP

mysqli_connect () & mysqli:: _construct both are used to open connection to mysql server in PHP. mysqli_connect () function work as procedural process, where mysqli:: __construct work as object oriented process to connect to mysql server.

Click here for example of connecting mysql server using PHP