Question using jQuery "load" method along with a GET request
<p>I want to load the results of a get request of an external php file into a div.</p>

<p>Here is the jQuery code that I am using:</p>

<pre><code>&lt;script&gt;
  $(document).ready(function() {
    $("#output").load("php/create_rows.php?" + $.param({ "type": "unique", "unit": "day", "interval": 2 }));
  });
&lt;/script&gt;
</code></pre>

<p>Here is the code on my php page:</p>

<pre><code>  $type = $_GET['type'];
  $unit = $_GET['unit'];
  $interval = $_GET['interval'];

  echo("The type is: " . $type);
  echo("The unit is: " . $unit);
  echo("The interval is: " . $interval);
</code></pre>

<p>The console has no errors, so I am sure that the jQuery load is working correctly.</p>

<p>I expected the div with ID output to contain the values of type, unit, and interval that I passed in. Unfortunately, the div with ID output is empty. </p>

<p>I am new to PHP, so maybe I am using echo wrong? I don't know.</p>

<p>Edit 1:</p>

<p>The get parameters are being sent correctly. Here is the output:
The type is: unique
The unit is: day
The interval is: 2
The property is: 
The property_value is: 
000%00%</p>

<p>Inside of my create_rows.php file, I have a require:   require("processData.php");</p>

<p>I put an "echo 'Hello World';" in the processData.php file, but it is not showing up in the console.</p>
