how to add multiple records in mysql using php -


How to add multiple records using php in mysql, this problem is only using the solution array because I The array used to try, but the record that will be added to the database will look like this:

In this way you can create such a statement from the record array

$ Value = array (); Adds $ ($ record ['name']), adds ($ record ['email'])); $ Sql ​​= "Include user (name, email) values" Implode (",", $ values); Mysql_query ($ sql);

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -