You are here: Re: XML datas to MySQL database « PHP Programming Language « IT news, forums, messages
Re: XML datas to MySQL database

Posted by Peter van Schie on 07/18/05 19:41

Bob Bedford wrote:
>
> Thanks for the advice.
> Anyway for my first scripts I had to manage everything manually. Its'
> there any class or code that takes out all datas from a XML and put it
> in a simpler structure ? maybe an array, that let me create a simpler
> script ?

Hi Bob,

You could use a dtd parser and then dynamically create a mysql table
with that particular structure. Then after that you can put the data
from the xml files in the right mysql table which belongs to its dtd.
You'd get a column for each xml element. Handling nested xml data would
be a little tougher though.

--
http://www.phpforums.nl

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация