Ver Mensaje Individual
  #4 (permalink)  
Antiguo 30/01/2012, 08:16
oscarbt
 
Fecha de Ingreso: abril-2009
Ubicación: Colombia
Mensajes: 949
Antigüedad: 15 años
Puntos: 27
Respuesta: Label XML en PHP

Prueba asi:
Código PHP:
Ver original
  1. <?php
  2. $xml = simplexml_load_file(URL);
  3. foreach( $xml->host as $host  )
  4. {
  5. $valor=$host['label'];
  6. echo $valor."</br>";
  7. }
  8. ?>