title: wrong parameter count error in mysql via php
body: <p>I've been struggling with this for far too long, and I don't see any error. </p>
  
  <p>I've got a table that holds a bunch of locations. When I'm adding a location via my php script, I get an error of 'Wrong parameter count for mysql_query()'. </p>
  
  <p>When I echo the mysql query, everything looks fine,and I can copy and and paste it into phpmyAdmin , everything runs perfectly. </p>
  
  <p>The query looks like this</p>
  
  <pre><code>INSERT IGNORE INTO locations (name, address, city, state, zip) VALUES ('Soboba Casino','23333 Soboba Road', 'San Jacinto', 'CA', '92581')
  </code></pre>
  
  <p>Am I missing something? Why would this not run in my script, but run in phpmyAdmin?</p>
  
  <p>Sorry, Missed putting in the php, the offensive php seems pretty straight forward</p>
  
  <pre><code>// insert the venue
  $insertLoc="INSERT IGNORE INTO locastions (loc, address, city, state, zip) VALUES ('$venueName','$streetAddress', '$city', '$state', '$zip')";
  echo $insertLoc;
  mysql_query($insertLoc)or die(mysql_query());
  </code></pre>