$stmt = $somePDOObject->prepare("INSERT INTO folks " . "(name, addr, city) values (:name, :addr, :city);"); $stmt->execute( array( ":name" => $name, ":addr" => $addr, ":city" => $city));