Posted By

depmed on 08/24/07


Tagged

php


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

heinz1959
bsisco
Nix


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


 / Published in: PHP
 

URL: http://snippets.dzone.com/posts/show/4350

Inserts the values of an array into a table. Also supports specifying if a specific field needs to be encoded using PASSWORD() Parameters: 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  

You need to login to post a comment.