title: Why isn't my MySQL database insertion working?
body: <pre><code>$author = $_SESSION['username'];
  $subject = $_POST['subject'];
  $body = $_POST['body'];
  $branched = $_POST['branched'];
  $time = time();
  $branchedFrom = $_POST['parent'];
  $id = $_POST['parent'];
  $next = 0;
  $previous = 0;
  $branchedTo = 0;
  mysql_query(
      "INSERT INTO offtopic
      VALUES(
          '',
          '$author',
          '$subject',
          '$body',
          '$time',
          '$next',
          '$previous',
          '$branchedFrom',
          '$branchedTo'
  ");
  </code></pre>
  
  <p>I've tried it lots of times, even tried changing some stuff, but it doesn't save the info into the database.
  The blank space at the begining is where the index is in the database.
  The SESSION and POST stuff I'm pretty sure gets passed properly.</p>