Database class allowing saving data to (XML?) file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TheTeapot

    Database class allowing saving data to (XML?) file

    I'm looking for a PHP database class which allows database connections
    to mysql, AND (text/XML) files to store information.

    I'm looking to use the file storage in a small intranet usage of my
    programming, and the database (mysql) storage in an online (internet)
    site.

    If anyone knows of any open-source PHP code for this, could you please
    help?

  • Willem Bogaerts

    #2
    Re: Database class allowing saving data to (XML?) file

    There's no need to do that in one class. You can use separate classes
    for database handling and storage. If you want, you can even define a
    subclass of the database class that does XML storage. You then pass an
    instance of that one to the XML-connected code.

    TheTeapot wrote:
    I'm looking for a PHP database class which allows database connections
    to mysql, AND (text/XML) files to store information.
    >
    I'm looking to use the file storage in a small intranet usage of my
    programming, and the database (mysql) storage in an online (internet)
    site.
    >
    If anyone knows of any open-source PHP code for this, could you please
    help?
    >

    Comment

    Working...