title: #1054 - Unknown column 'domain.com' in 'field list'
body: <p>Ok, second question in two days... i am probably making a newb mistake here but i am stuck.</p>
  
  <p>trying to insert a domain name into a table under the "name" column. all of my variables echo out so i know they are being passed and set.</p>
  
  <p>the insert is as follows:</p>
  
  <pre><code>$newDomain = $_POST['newDomain']; //Get domain name
  $newDomain_query =  mysql_query("INSERT INTO virtual_domains (name) VALUES ($newDomain)");
  header("Location: domain_detail.php?domain=".$newDomain);
  </code></pre>
  
  <p>I have tried many ways of writing this script but everytime i get the same result when i include the:</p>
  
  <pre><code>or die(mysql_error)
  </code></pre>
  
  <p>in the script. the query does not run and when i take out the die part it just jumps to the header location.</p>