English

Which is the correct function to execute the SQL queries in PHP?

Advertisements

Question

Which is the correct function to execute the SQL queries in PHP?

Options

  • mysqli_query(“Connection Object”,”SQL Query”)

  • query(“Connection Object”,”SQL Query”)

  • mysql_query(“Connection Object”,”SQL Query”)

  • mysql_query(“SQL Query”)

MCQ
Advertisements

Solution

mysqli_query(“Connection Object”,”SQL Query”)

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



      Forgot password?
Use app×