$aid= $_GET["aid"];
echo $xml->orders->ITEM["$aid"]->name;
With this script I'm trying to display the value of an XML page.
The variable $aid
is the number of elements.
This can be 0 to 1000.
Only nothing displays when I run this script.
This works fine
$aid= $_GET["aid"];
echo $xml->orders->ITEM[1]->name;