title: $.getJSON not working with MAMP
body: <p>I've looked through a ton of <code>$.getJSON()</code> posts on here to see if any of them can help me with my problem, however nothing has seemed to help so far.</p>
  
  <p>Putting together a webpage locally using MAMP. jQuery is working fine locally, however as soon as I wrap anything in <code>$.getJSON()</code>, even a simple alert, nothing seems to work.</p>
  
  <p>The data I want to pull is from a locally hosted MySQL database so there's no calling cross-sites. I thought the problem could be a MIME issue, however I've added <code>application/json json</code> and still nothing.</p>
  
  <p>I don't think there's anything wrong with my code, however this is it just incase:</p>
  
  <pre><code>$.getJSON("test.php", function(data) {
    if (data.test.length &gt; 0) {
      $('.title').empty();
      $('.content').empty();
      $.each(data.test, function() {
        var info = '';
        if(){
        } else {}
        $('').append(info);
      });
    }
  });
  </code></pre>