jam Posted October 20, 2005 Report Share Posted October 20, 2005 Ir XML fails: <?xml version="1.0" encoding="utf-8"?> <kastes> <kaste> <nos>CKLS 201S</nos> <intro>Kautkaads intro</intro> <izmers>50x60</izmers> <krasa>zila</krasa> <apr>Baig krutaa kaste</apr> </kaste> <kaste> <nos>APCK 325S</nos> <intro>Kautkaads intro veel</intro> <izmers>50x60</izmers> <krasa>sarkana</krasa> <apr>Baig krutaa vēlviena kaste</apr> </kaste> </kastes> 1kārt. Man vajag no shitaa faila dabuut araa uz lapu sarakstaa to, kas ieksh <nos> un <intro>. KAd izveelas konkreetu <nos>, notiek tipa search pa sho failu, kuram <kaste> tas <nos> pieder (tipa select * from tabula where nos ir $_post['nos']) un izdot visu atrasto. Google datubaaze izmalta, varbut suudigi malju, bet jeedzigu piemeru neatradu :// Link to comment Share on other sites More sharing options...
rpr Posted October 20, 2005 Report Share Posted October 20, 2005 papeeti funkciju xml_parse_into_struct() Link to comment Share on other sites More sharing options...
Recommended Posts