Reputation: 2543
I would like to store some information in xml format and query it whenever and I would also like to fetch data rows as arrays, like mysql database.
Upvotes: 1
Views: 67
Reputation: 60403
You might try PHPLinq. I havent used it but if the features are as complete as in .Net it should do exactly what you want, though you may have to deal with resultsets as StdObject
or ArrayObject
as opposed to arrays - not too sure about that. Still though it beats coding a SQL -> xpath solution yourself.
Upvotes: 0
Reputation: 163438
There are a handful of ODBC libraries available that use XML as a backend.
I wouldn't do this though. I'd stick with PHP's built-in XML support.
Upvotes: 1