ler xml
bom dia.
tenho um xml e preciso lê-lo e verificar duas tags. por exemplo if tag = "cliente" então pego valor. se tag = "endereco" pego o valor e assim por diante.
estou utlizando simplexml_load_file e está me dando o seguinte erro.
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "teste.xml" in C:\wamp\www\ler_xml.php on line 3
o que pode ser?
Discussão (7)
Carregando comentários...