Bulk Insert while using PDO


If you are looking to Bulk Insert while using PDO and want to use bound parameters (to prevent SQL injection), please have a look at this solution here: http://stackoverflow.com/questions/4629022/how-to-insert-an-array-into-a-single-mysql-prepared-statement-w-php-and-pdo

Quite simple and does the job.

, ,

Leave a Reply

Your email address will not be published. Required fields are marked *