From: | "Matthew Nuzum" <cobalt(at)bearfruit(dot)org> |
---|---|
To: | "'Boget, Chris'" <chris(at)wild(dot)net> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: PHP & PostgreSQL |
Date: | 2002-12-30 14:15:16 |
Message-ID: | 000201c2b00d$e241ed30$6700a8c0@mattspc |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
The Adodb database abstraction library is free to use and works very
well. I like it even in projects that will only use postgres. It makes
programming databases easier, will do a lot of the mundane work for you,
and if you have different projects that use different databases, it
allows you to use the same adodb commands.
You can find all kinds of information about adodb including a function
reference, tutorials and download links at
http://php.weblogs.com/adodb_manual
Keep in mind that this library was originally modeled after Microsofts
Ado library. Therefore, it does not bear a strong resemblance to the
native php db functions. An interesting side effect though is that I
recently had to write a simple Visual Basic application and found that I
already knew most of the database stuff because of my php adodb
experience. :-)
Matthew Nuzum
www.followers.net
matt(at)followers(dot)net
-----Original Message-----
From: Boget, Chris [mailto:chris(at)wild(dot)net]
Sent: Monday, December 30, 2002 5:14 AM
To: 'php-general(at)lists(dot)php(dot)net'
Cc: 'pgsql-general(at)postgresql(dot)org'
Subject: PHP & PostgreSQL
I'm switching from a MySQL environment to PGSQL and I'm
going through and trying to learn the differences between the
two. I've come across some issues that I can't seem to find the
answers to in the docs or on the web. I'm hoping someone can
help me out.
* MySQL has a function to reset the result set so that it can be
iterated through again - mysql_data_seek(). I don't see that there
is a similar function for PGSQL. Is that true? If so, in order to
reset the result set you have to perform the query again? Isn't
that a waste of resources?
* For PGSQL, you can get the database name, the field name
even the *host name* but you can't get the table name from a
particular query?
Any info would be greatly appreciated!
Chris
From | Date | Subject | |
---|---|---|---|
Next Message | pginfo | 2002-12-30 14:54:13 | Re: pg and transactions |
Previous Message | Chris Boget | 2002-12-30 13:42:21 | Re: PHP & PostgreSQL |