I have a little problem:
I have this XML-File:
<response>
<game_count>768</game_count>
<games>
<message>
<appid>730</appid>
<playtime_forever>549</playtime_forever>
</message>
<message>
<appid>1300</appid>
<playtime_forever>0</playtime_forever>
</message>
<message>
<appid>1309</appid>
....
I tried to search for the value appid == '730' but unfortunately nothing helped.
E.G i tried this:
$game = new SimpleXMLElement($account_game_data);
$res = $game->xpath("games/message/appid[. = 730]");
print_r($res);
My result should be <appid>730</appid><playtime_forever>549</playtime_forever></message> as SimpleXMLElement.
If there is any code required, I will post it.
game-var was empty. Thanks for help