title: PHP inserting Suggestion into SQL table
body: <p>I don't know what is wrong, there are currently no errors when going to my suggestion page so I don't know what is wrong, got any ideas?</p>
  
  <pre><code>//index.php
  
  &lt;form name="suggestion" action="http://example.com/suggestions.php" method="POST"&gt;
  &lt;font style="font-family: arial; color:#3f3f3f; font-size:15px;"&gt;Provide me with a URL to one or multiple songs that you want on the website!&lt;/font&gt; &lt;br&gt;&lt;br&gt;&lt;input style="width:243px;" type="text" name="suggestion"&gt;&lt;br&gt;
  &lt;br&gt;
  &lt;input value="Submit" type="submit"&gt;
  &lt;/form&gt;
  
  
  //suggestions.php
  
  &lt;?php
  $conn=mysql_connect("localhost", "u611142741_list", "[REDACTED]"); 
   mysql_select_db("u611142741_sugge", $conn);
  
  // If the form has been submitted
  
  $suggestion = mysql_real_escape_string($_POST['suggestion']);
  $ip = $_SERVER['REMOTE_ADDR'];
  
  
  
      // Build an sql statment to add the student details
      $sql="INSERT INTO suggestions
  
  (Suggestion,IP Address) VALUES
  
  ('$suggestion','$ip')";
      $result = mysql_query($sql,$conn);
  
  
  // close connection 
  mysql_close($conn);
  ?&gt;
  </code></pre>