There is such a code
$data = array('Cathy', '9 Dark and Twisty Road', 'Cardiff'); $STH = $DBH->prepare("INSERT INTO folks (name, addr, city) values (?, ?, ?)"); $STH->execute($data); Instead of VALUES dumps the $data array. Is there a method that transfers an array, not instead of VALUES but instead of attributes.