title: SQL query INSERT not working inserting values into my DB
body: <p>I'm trying to insert some values into my DB but it's not working, i'm trying to figure out why it's not working but I'm an amateur php coder,</p>
  
  <p>This is the code I'm using:</p>
  
  <pre><code>$insert = mysql_query
      ("
      INSERT INTO news(id,title,body,date,by)
      VALUES ('NULL','".$title."','".$body."','".$date."','".$by."')
      ");
      mysql_close($connect);
  </code></pre>
  
  <p>And the rows i'm trying to insert into are: id,title,body,date,by<br>
  but it's not showing up in the database or on my news page.</p>
  
  <p>Can someone please help me?</p>