converted some to PDO and need to finish up insert.php