Ver Mensaje Individual
  #5 (permalink)  
Antiguo 11/11/2011, 16:19
oscarbt
 
Fecha de Ingreso: abril-2009
Ubicación: Colombia
Mensajes: 949
Antigüedad: 15 años
Puntos: 27
Respuesta: Extrair un datos desde un archivo XML

O asi:

Código PHP:
Ver original
  1. <?php
  2. $archivo="tuarchivo.xml";
  3.  $x = new SimpleXMLElement($archivo, null, true);
  4. foreach( $x->Gallery as $url )
  5. {
  6. $url=$url->image;
  7. echo $url;
  8.  
  9. }
  10.  
  11. ?>