FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Import values reading from XML nodes
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Import values reading from XML nodes [message #175721] Sat, 22 October 2011 19:06 Go to next message
Sarah is currently offline  Sarah
Messages: 30
Registered: December 2010
Karma: 0
Member
Hi! I've an XML file with this structure

<?xml version="1.0" encoding="UTF-8"?>
<azienda tabella="tb">
<riga IdAA="1" DesBB="Eliminazione" />
<riga IdAA="2" DesBB="Controllo" />
</azienda>


How Can I read each row and save value of each row (idAAA, DesBBB....)
in a DB Table?

Thanks
Re: Import values reading from XML nodes [message #175723 is a reply to message #175721] Sat, 22 October 2011 19:44 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 10/22/2011 3:06 PM, Sarah wrote:
> Hi! I've an XML file with this structure
>
> <?xml version="1.0" encoding="UTF-8"?>
> <azienda tabella="tb">
> <riga IdAA="1" DesBB="Eliminazione" />
> <riga IdAA="2" DesBB="Controllo" />
> </azienda>
>
>
> How Can I read each row and save value of each row (idAAA, DesBBB....)
> in a DB Table?
>
> Thanks

Several possibilities - see http://www.php.net/manual/en/refs.xml.php.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: simple session question
Next Topic: Json result
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 03:51:57 GMT 2024

Total time taken to generate the page: 0.02651 seconds