|
Posted by Willem Bogaerts on 11/17/06 07:15
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?
>
Navigation:
[Reply to this message]
|