मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

What is Connection string? - Computer Applications

Advertisements
Advertisements

प्रश्न

What is Connection string?

टीपा लिहा

उत्तर

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 the connection gets fail, output will be printed with MySQL error code. Otherwise, the connection is a success.

shaalaa.com
MYSQL Function in PHP
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 9: Connecting PHP and MYSQL - Evaluation - PART – II [पृष्ठ १३२]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
पाठ 9 Connecting PHP and MYSQL
Evaluation - PART – II | Q 6. | पृष्ठ १३२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×