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

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -