1.

What is Connection string?

Answer»

The variables are used to connect to the Database server.

They are

1. $servername → Database Server IP address

2. $usemame → Database Server User Name

3. $password → Database Server Password 

4. $DB_Name → Database Name

The mysqli connect function uses these variables and connect Database server from PHP scripting. If connection gets fail, output will be printed with MySQL error code. Otherwise connection is success.



Discussion

No Comment Found