![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 88 Pomógł: 0 Dołączył: 16.03.2008 Ostrzeżenie: (0%) ![]() ![]() |
Jak można pobrac dane z xml
kożytam z
Niestety wyskakuje błąd przy zaciąganiu danych: Warning: simplexml_load_file() [function.simplexml-load-file]: ofertyZip/dane.xml:54: parser error : StartTag: invalid element name In Warning: simplexml_load_file() [function.simplexml-load-file]: <1>true</1> in ... Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in ... Warning: simplexml_load_file() [function.simplexml-load-file]: ofertyZip/dane.xml:54: parser error : expected '>' in Warning: simplexml_load_file() [function.simplexml-load-file]: ofertyZip/dane.xml:54: parser error : Opening and ending tag mismatch: zdjecia line 53 and unparseable in wers 53 w XML to:
W jaki sposób można zaciągnąć dane, bo na tym Tagu się pobieranie wywala. Proszę o pomoc jak to można zaciągnąć. |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 4 340 Pomógł: 542 Dołączył: 15.01.2006 Skąd: Olsztyn/Warszawa Ostrzeżenie: (0%) ![]() ![]() |
1. pobierasz dane z pliku file_get_contents
2. zamieniasz <1> na dowolną poprawną nazwę, i </1> 3. simplexml_load_string w tą stronę kombinuj. -------------------- I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark - Muhammad Ali.
Peg jeżeli chcesz uprawiać sex to dzieci muszą wyjść, a jeżeli chcesz żeby był dobry ty też musisz wyjść - Al Bundy. QueryBuilder, Mootools.net, bbcradio1::MistaJam http://www.phpbench.com/ |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 19:56 |