hi
question:
i need to make clas(ses) so i will be able to connect to different databases (oracle, mysql, myssql)
and have to adjust the functions to it.
does anybody know a site where i can find this?
and how do i need to connect in my php files then?Check the PEAR DB abstraction layer:
<!-- m --><a class="postlink" href="http://pear.php.net/package/DB">http://pear.php.net/package/DB</a><!-- m -->
and its docs:
<!-- m --><a class="postlink" href="http://pear.php.net/manual/en/package.database.php">http://pear.php.net/manual/en/package.database.php</a><!-- m -->
How to install and use PEAR:
<!-- m --><a class="postlink" href="http://pear.php.net/manual/en/">http://pear.php.net/manual/en/</a><!-- m -->
That might be what you need.
question:
i need to make clas(ses) so i will be able to connect to different databases (oracle, mysql, myssql)
and have to adjust the functions to it.
does anybody know a site where i can find this?
and how do i need to connect in my php files then?Check the PEAR DB abstraction layer:
<!-- m --><a class="postlink" href="http://pear.php.net/package/DB">http://pear.php.net/package/DB</a><!-- m -->
and its docs:
<!-- m --><a class="postlink" href="http://pear.php.net/manual/en/package.database.php">http://pear.php.net/manual/en/package.database.php</a><!-- m -->
How to install and use PEAR:
<!-- m --><a class="postlink" href="http://pear.php.net/manual/en/">http://pear.php.net/manual/en/</a><!-- m -->
That might be what you need.