Q. Which function is used to connect to a MySQL database using MySQLi (procedural)?
β
Correct Answer: (A)
mysqli_connect()
Explanation: mysqli_connect() is the correct function for connecting to a MySQL database.