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
Post a Comment