title: php, parse csv, no errors
body: <p>you don't really have to read all the code, the problem is probably in the upload file but I'm going to post everything just to be sure, and nothing is complicated about the code, I'm going to post it on Pastebin just to leave this area clean for users to read</p>
  
  <ul>
  <li><a href="http://pastebin.com/rK9z5T2X" rel="nofollow">index.php</a></li>
  <li><a href="http://pastebin.com/wjmYHNQf" rel="nofollow">upload.php</a></li>
  <li><a href="http://pastebin.com/4srHgbTN" rel="nofollow">footer.php</a></li>
  </ul>
  
  <p>I did <code>var_dump($_FILES)</code> and threw some exceptions and</p>
  
  <pre><code>ini_set('display_errors', true);
  error_reporting(E_ALL);
  </code></pre>
  
  <p>no errors whatsoever, in fact it was working like a charm last week, until i decided to update it, nothing gets saved in the database, connection to mysql is successful. </p>
  
  <p>The errors from the console is</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: showCode is not defined index.php line 158</p>
  </blockquote>
  
  <p>in an effort to get rid of the error because line 158 is irrelevant, i deleted it, still i get the same error, the same line though line 158 is empty. please note i have made many changes to the script and fixed bugs since have uploaded it,but i will update the index only since thats where the error seems to be. upload.php is still kinda the same but i changed the headers</p>