Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [xml-php]contare i rami
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[xml-php]contare i rami

come da titolo, se ho un file xml di questo tipo:

code:
<root> <entry> <info1>blabla</info1> <info2>bbbaaaa</info2> <info3>ggggooooo</info3> </entry> <entry> <info1>blabla</info1> <info2>bbbaaaa</info2> <info3>ggggooooo</info3> </entry> <entry> <info1>blabla</info1> <info2>bbbaaaa</info2> <info3>ggggooooo</info3> </entry> </root>


come faccio, in php, a contare quanti sono i nodi entry??


grazie in anticipo

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

20-03-2006 19:52
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Drake83
Fan di Splinter

User info:
Registered: Nov 2003
Posts: 1631 (0.21 al dì)
Location: Garbagnate milanese
Corso: Tutto finito
Anno:
Time Online: 108 Days, 5:46:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: [xml-php]contare i rami

Originally posted by fulminato1
come da titolo, se ho un file xml di questo tipo:

code:
<root> <entry> <info1>blabla</info1> <info2>bbbaaaa</info2> <info3>ggggooooo</info3> </entry> <entry> <info1>blabla</info1> <info2>bbbaaaa</info2> <info3>ggggooooo</info3> </entry> <entry> <info1>blabla</info1> <info2>bbbaaaa</info2> <info3>ggggooooo</info3> </entry> </root>


come faccio, in php, a contare quanti sono i nodi entry??


grazie in anticipo


Guarda per il progetto di mobile l'anno scorso ho dovuto integrare xml con php. Ci sono funzioni in php per lavorare su xml . Attenzione che sono differenti le funzioni tra php 4 (in cui sono nella versione beta) e php 5 ( non + beta). Visita il sito ufficiale www.php.net

__________________
"io non sono come gli altri Robin Hood, io non ballo coi lupi"
"ogni mattina come narciso si specchia nel ruscello retrovisore", "ci sono mille modi per chiamare dio...dio,allha,adta,arauffa,crisma..afjasf...tanto non ti risponde"

Corrado Guzzanti è il mio Dio.
Roberto Saviano eroe nazionale.

20-03-2006 20:54
Click Here to See the Profile for Drake83 Click Here to See the Blog of Drake83 Click here to Send Drake83 a Private Message Find more posts by Drake83 Add Drake83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 02:00.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.106 seconds (66.79% PHP - 33.21% MySQL) con 25 query.