0
How to use php to link with database.
2 ответов
+ 1
Definition and Usage
The mysqli_connect() function opens a new connection to the MySQL server.
for example:
mysqli_connect(host,username,password,dbname,port,socket);
also check:
http://www.w3schools.com/php/func_mysqli_connect.asp
http://php.net/manual/en/function.mysqli-connect.php
0
You have to make connections to database using pdo or mysqli. Mysqli is used for MySQL database.