Which function would you use to insert a record into a database in php?



Which function would you use to insert a record into a database in php?..

Answer / Sayugva Raique

In PHP, the most common function used for interacting with databases is `mysqli_query()` (MySQL Improved). You can prepare an SQL query and then execute it to insert data into your database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

In php how can you jump in to and out of "php mode"?

1 Answers  


How can we determine whether a variable is set?

1 Answers  


What is the difference between php and core php?

1 Answers  


How do I clear my browser session?

1 Answers  


What is the difference between $message and $$message?

12 Answers   BSPL, eGrove, i-Net Solution,


Is php front end?

1 Answers  


What are Sub routines?

1 Answers  


How do you pass a variable by value?

1 Answers  


what are in image creating functions in php

5 Answers   A1 Technology,


What is oops php?

1 Answers  


Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()

1 Answers  


What is the difference between implode() and explode() in php?

1 Answers  


Categories