PHP: Insert Data Into MySQL Table Using An Array [mysql] [php] [array] [INSERT]

/ Published in: PHP
Save to your folder(s)

Inserts the values of an array into a table. Also supports specifying if a specific field needs to be encoded using PASSWORD()
Table: Name of table to insert into
Data: array of $field->$value of new data
Password Field: Which field in the data array needs to be surrounded with PASSWORD() (optional)


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.