Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/10/2010, 08:50
viniciusnunez
 
Fecha de Ingreso: julio-2010
Mensajes: 1
Antigüedad: 13 años, 10 meses
Puntos: 0
Interpretar SimpleXMLElement Object

buenas,

como puedo hacer para guardar [token] en una variable $new_token. ya intente usando foreach, pero no consigo llegar al token, alguien podria ayudarme?

SimpleXMLElement Object ( [@attributes] => Array ( [stat] => ok ) [auth] => SimpleXMLElement Object ( [token] => 1234 [perms] => delete [user] => SimpleXMLElement Object ( [@attributes] => Array ( [nsid] =>1234 [username] => qwert [fullname] => qwert ) ) ) )

saludos!