PEAR, MDB2 and MDB2_Driver_pgsql
| From: | Alain Roger | Date: | Sat, 11 Nov 2006 19:16:28 +0000 |
| Subject: | PEAR, MDB2 and MDB2_Driver_pgsql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-244502@lists.php.net to get a copy of this message | ||
Hi,
So i solved my problem with Pager, MDB2...therefore thanks a lot to
everybody for your support.
I have nevertheless still 1 question to which i need help.
I would like to understand how MDB2_Driver_pgsql and MDB2 class are linked
to each other ?
i was thinking that the first one is derived from the MDB2 but it is not.
MDB2_Driver_pgsql has almost the same function that MDB2...
So i would like to understand how MDB2_Driver_pgsql works ?
Could you give me an example where :
- there we open a connection to a pgsql db
- where there is a query
- where we display the result of this query ?
because i have the feeling that every time we come back to MDB2::connect,
MDB2::fetchrow,...
thanks a lot,
--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.1.4
Apache 2.0.58
PHP 5