RE: Any one can help me dump XML into MySQL??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This may be a start

Extracting CDATA values from an XML feed / file.
http://www.weberdev.com/get_example.php3?count=3692

Sincerely

berber

Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.

-----Original Message-----
From: Nabil [mailto:nabil.attar@aws-syria.com] 
Sent: Thursday, July 03, 2003 8:24 AM
To: php-db@lists.php.net
Subject:  Any one can help me dump XML into MySQL??


Dear All ;

I have an XML files like the following and i want to make an PHP code to
insert it into my MySQL how can i read the nodes ot tages???  by the way
i can export like this file from PhpMyAdmin but i cann't dump it back...
Thanks in advance Nabil

<?xml version="1.0" encoding="windows-1252" ?>
- <scs-dist>
- <!--
 table dist   -->
- <dist>
  <id>1</id>
  <fname>Mark</fname>
  <lname>Smith</lname>
  <company>company1</company>
  <phone>123456</phone>
  <govern>city1</govern>
  <address>first street</address>
  <area>12</area>
</dist>

- </scs-dist>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux