Re: Problem with fetching values...
| From: | Nathan Nobbe | Date: | Sun, 28 Dec 2008 23:11:15 +0000 |
| Subject: | Re: Problem with fetching values... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285169@lists.php.net to get a copy of this message | ||
On Sun, Dec 28, 2008 at 10:41 AM, Michelle Konzack <
linux4michelle@tamay-dogan.net> wrote:
> Hello,
>
> I have to code a compatibility layer under PHP5 for PostgreSQl and
> MySQL, which mean, I have to code something like db_query() which then
> can be used with mysql_query() and pg_query().
OK. i would stop right there and ask yourself why.. there are tons of
stable, working solutions out there that already do this, most notably for
php5, PDO,
http://us.php.net/manual/en/pdo.drivers.php
which btw, is written in C ;)
-nathan