Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to Use of XML File for dynamically storing and retrieving data in php. It is possible or not...
Posted
Updated 31-Mar-12 8:04am
v2

1 solution

You need to use some form of serialization for PHP. Please see:

http://www.php.net/manual/en/language.oop5.serialization.php[^]
http://php.net/manual/en/function.serialize.php[^],
http://www.php.net/manual/en/function.unserialize.php[^].

For XML serialization, you can use PEAR (PHP Extension and Application Repository). Please see:
http://en.wikipedia.org/wiki/PHP_Extension_and_Application_Repository[^],
http://pear.php.net/[^].

The PEAR XML serializer is here:
http://pear.php.net/package/XML_Serializer/redirected[^].

Download and installation:
http://pear.php.net/package/XML_Serializer/download[^].

Documentation:
http://pear.php.net/package/XML_Serializer/docs[^].

Enjoy,
—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900