11- MySQL Multiple Insert

0
317

MySQL Multiple Insert Performs multiple queries in MySQL, you need to use the function called “mysqli_multi_query”. This function allows you to perform one or more queries against the database, you only have to separate the query using the semicolon.

Example using MySQLi(Object-Oriented):

 

Example using MySQLi(Procedural):

 

Example using PDO:

 

Our Previous Topic Called: 10- MySQL Last Inserted

Facebook Comments

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.