Serializing XML data to store in MySQL with PHP

Slaktarn

New Member
I have a series of very complex XML files. I need to access these often, so reading .xml files is something of a hangup. I've been considering writing a series of massive SQL statements, but before I begin that massive task, I wanted to know about serializing whole XML files to store as blobs in MySQL. \[code\]My intentions: XML -> store_into_database()database -> read_seralized_data($row)echo -> un_serialize_data($row)\[/code\]This would allow me to store .xml files that I parse from an onlinedatabse, and only have to do I/O operations once. or is the the wrong way to do this?
 
Back
Top