XML to MySQL
| From: | Nabil | Date: | Wed, 02 Jul 2003 10:07:45 +0000 |
| Subject: | XML to MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29015@lists.php.net to get a copy of this message | ||
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>