![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 25 Pomógł: 0 Dołączył: 12.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
jak wyświetlić dane z takiedo xml'a Kod <pasaz:Envelope> <pasaz:Body> <loadOffers> <offers> <offer> <id>12002</id> <name>Tretgtrerytr</name> <price>147.00</price> <url>http://www.tttt.pl/tt/</url> <categoryId>Ksssss</categoryId> <description></description> <image>http://ttt.pl/600x848.jpg?20120301</image> <attributes> <attribute> <name>zm:productTypeId</name> <value>16</value> </attribute> <attribute> <name>Autor</name> <value>Luke Ryy</value> </attribute> <attribute> <name>ISBN</name> <value></value> </attribute> <attribute> <name>Wyd</name> <value>Zooo.</value> </attribute> <attribute> <name>Rok</name> <value>2011</value> </attribute> </attributes> <availability>1</availability> </offer> </offers> </loadOffers> </pasaz:Body> </pasaz:Envelope> Pozdrawiam |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 44 Pomógł: 2 Dołączył: 25.08.2009 Ostrzeżenie: (0%) ![]() ![]() |
Polecam zapoznanie się z simple xml.
-------------------- Jeżeli czegoś się nie da zrobić,
daj to do zrobienia komuś kto o tym nie wie, na pewno to zrobi... |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 25 Pomógł: 0 Dołączył: 12.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
Prosze mi pomóc....
Próbuje, próbuje i nie działa... |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 217 Pomógł: 21 Dołączył: 10.06.2011 Skąd: Głogów Ostrzeżenie: (0%) ![]() ![]() |
ladujesz ten caly ciag do zmiennej $text, $s1 ustawiasz np. <name> a $s2 ustawiasz </name> i zwroci ci Rok Ten post edytował jackraymund 11.03.2012, 21:46:44 -------------------- Wykonuje zlecenia na pobieranie danych ze stron i różne boty.
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 16.06.2025 - 19:44 |