<?php require_once('db-config.php'); require_once('db.class.php'); //Initialize Database $db = new DB(); $sql = "INSERT INTO `users`(`name`, `address`, `email`) VALUES (?,?,?)"; $values= ('Test User', 'P.O Box', 'email@user.com'); $db->insert($sql, $values); ?>