Forum Moderators: coopster
I'm a bit stumped with this problem. The solution is probably fairly simple, but I've spent hours trying to figure this out.
$tweeters = new SimpleXMLElement($twi);
I do a var_dump($tweeters) and I get this..
object(SimpleXMLElement)#1 (4) { ["reset-time-in-seconds"]=> string(10) "1241085902" ["remaining-hits"]=> string(2) "40" ["hourly-limit"]=> string(3) "100" ["reset-time"]=> string(25) "2009-04-30T10:05:02+00:00" }
Now how the heck do I access the "remaining-hits" string in this array?
Thanks very much,
Dave