Load Grid from PHP with Variables passed in the URL

I have been playing this for a bit now.

  1. I am using PHP / With a MySQL backend.
  2. I have two files: Table.php = DataGrid, Runtime.PHP = XML Generator from MySQL.
  3. Both files work fine with out any additional $_GET Elements in the URL.

My Intent is to use Runtime.php to query the database for multiple tables, each table name is passed in the URL except for those that are restricted or filtered out with anti-SQL-Injection-functions.

This file produces a simple XML Structure based upon the information Passed in the URL. In the web browser the XML works fine but not the Grid.
One Output:

runtime.php?table=table1
<rows total_count="4" pos="0">
         <row id="1">
                <cell>BLAH</cell>
         </row>
</rows>

Other Output

runtime.php?table=table43
<rows total_count="4" pos="0">
         <row id="1">
                <cell>BLAH</cell>
         </row>
</rows>

Now the Problem: Using:

MyGrid2.load('runtime_1.php?table=table1', 'xml');  

Doesnt Work. There is no error in the Grid and nothing displays. If i remove the code to parse the $_GET data it works fine.