title: Why won't mysql query with my php script?
body: <p>I'm trying to make this information insert into my table in mysql database with this script I wrote.</p>
  
  <pre><code>&lt;?php
  require("../includes/db.php");
  $nme = $_POST["nme"];
  $email = $_POST["email"];
  $address = $_POST["address"];
  $city = $_POST["city"];
  $state = $_POST["state"];
  $zip = $_POST["zip"];
  $phone = $_POST["phone"];
  $options = implode($_POST["options"],", ");
  $query = mysql_query("insert into peeps (name, email, address, city, zip, phone, type) values ('$nme','$email','$address','$city','$state','$zip','$phone','$options')");
  if($query)
      print "yes";
  else
      print "no";
  </code></pre>
  
  <p>?></p>
  
  <p>The output of this code is no.</p>