English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Which is the correct function to establish connection in PHP?

Advertisements
Advertisements

Question

Which is the correct function to establish connection in PHP?

Options

  • mysqli_connect(“Server Name “,”User Name”,”Password”,”DB Name”);

  • connect(“Server Name “,”User Name”,”Password”,”DB Name”);

  • mysql_connect(“Server Name “,”User Name”,”Password”,”DB Name”);

  • mysqli_connect (“Database Object”);

MCQ
Advertisements

Solution

mysql_connect(“Server Name “,”User Name”,”Password”,”DB Name”);

shaalaa.com
MYSQL Function in PHP
  Is there an error in this question or solution?
Chapter 9: Connecting PHP and MYSQL - Evaluation - PART – I [Page 131]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 9 Connecting PHP and MYSQL
Evaluation - PART – I | Q 3. | Page 131
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×