Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> parsing
hhg
post
Post #1





Grupa: Zarejestrowani
Postów: 316
Pomógł: 0
Dołączył: 5.07.2006

Ostrzeżenie: (0%)
-----


\

Ten post edytował hhg 8.07.2008, 19:13:35
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
carbolymer
post
Post #2





Grupa: Zarejestrowani
Postów: 102
Pomógł: 12
Dołączył: 27.01.2007
Skąd: north              Poziom: 158                     Tytuł: Miszcz

Ostrzeżenie: (0%)
-----


$value; jest typu SimpleXMLElement (bodajże). Musisz dokonać konwersji na string.
  1. <?php
  2. $tab[$key] = (string) $value;
  3. ?>

czarodziej.gif

EDIT: Imo do wyszukiwania danych w xml nadaje się bardziej XPath niż foreach ;]

Ten post edytował carbolymer 8.07.2008, 17:45:29


--------------------
Blog | plugin system by carbolymer
Residence: #php.pl @ IRCNet
"Pralki powstały po to, aby kobiety też mogły programować"
Go to the top of the page
+Quote Post
Cysiaczek
post
Post #3





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




@hhg - Co to ma być? Czy wiesz, że jest to jedno z najbardziej chamskich zachowań na forum? Człowiek Ci odpisuje, a Ty kasujesz treść? Jeszcze jeden taki numer i dostaniesz +20, potem +30 itd. Baaaardzo, ale to baaaardzo podpadasz sad.gif


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 14:33