No, first snippet:
error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
if (isset($_POST['submitted'])) {
$errors = array(); //initialize error array.
if (empty($_POST['burlap'])) {
Second snippet like this, for every MySQL query you want to display errors (if there are any):
$query = "INSERT INTO formresults (qname, qemail, qaddress, burlap, gender, primarystyle, yearsprimary, yearsgrappling, weekly, stephanquestion, visitorsince, dvdpurchase) VALUES ('qname', 'qemail', 'qaddress', 'burlap', 'gender', 'primarystyle', 'yearsprimary', 'yearsgrappling', 'weekly', 'stephanquestion', 'visitorsince', 'dvdpurchase') or die(mysql_error())";