Well, should work well, if you wrote your code well.
Take a look if you've done something like this:
// Adding the recieved data in a variable with the same identity
// You have to look that the variable in PHP is case-sensitive (sometimes)
$id = $_GET['id']; // Recieved data index.php?id=3
Now, load the document.
print "<script ...>"
This should work perfectly, as I tested here. Just check the variable that you're using (sometimes PHP behaviors weird)... One example you can test, is this:
$capital = 67;
print("Variable capital is $capital<BR>");
print("Variable CaPiTaL is $CaPiTaL<BR>");
The return (in most cases), will be this:
Variable capital is 67
Variable CaPiTaL is
Take a look corectly to your code... pay attention if you're not using variables in upper case. Other think you should look is that register_globals is disabled in PHP. You need to get data using or $HTTP_GET_VARS['variable'] or $_GET['variable'] (in recent versions).
August 10, 2003Subject:
Re:[XLoadTree] dynamic created xml not working?
I am having a problem with you XLoadTree.
A source xml file with a question mark, for example, 'tree.xml.php?Id=3' gives an error. Using the contents of that file in a static xml file (for example 'static3.xml') works perfectly.
Could you help me sort this out?