Question

    Which PHP function is used for connecting to a MySQL database?

    A db_connect() Correct Answer Incorrect Answer
    B connect_to_db() Correct Answer Incorrect Answer
    C mysqli_connect() Correct Answer Incorrect Answer
    D sql_open() Correct Answer Incorrect Answer
    E None of the mentioned Correct Answer Incorrect Answer

    Solution

    The correct answer is C

    Practice Next