title: Insert statement fails in PHP
body: <pre><code>if(isset($_POST['title']) &amp;&amp; isset($_POST['tag_h1']) &amp;&amp; isset($_POST['tag_h2']) &amp;&amp; isset($_POST['tag_metadata']) &amp;&amp; isset($_POST['title']) &amp;&amp; isset($_POST['postContent']))
  {    
      $tag_h1=$_POST['tag_h1'];
      $tag_h2=$_POST['tag_h2'];
      $tag_metadata=$_POST['tag_metadata'];       
      $content=$_POST['postContent'];
      $title=$_POST['title'];
      $isTop=isset($_POST['isTop'])?1:0;
      $query = "INSERT INTO topic (tag_h1,tag_h2,tag_metadata,content,title,is_top) VALUES ('".$tag_h1."', '".$tag_h2."', '".$tag_metadata."', '".$content."', '".$title."'".$isTop."')";
      mysql_query($query) or die(mysql_error());
  }
  </code></pre>
  
  <p>The above statement fails. An exception is thrown. I cant see any, cause Chrome freezes.. other browsers go blank.. and I can't see any error!</p>
  
  <p>Does anyone know why my insert statement is wrong?</p>