Re: PHP & PostgreSQL
| От | Chris Boget |
|---|---|
| Тема | Re: PHP & PostgreSQL |
| Дата | |
| Msg-id | 031a01c2b009$4ab7d0f0$8c01a8c0@ENTROPY обсуждение исходный текст |
| Ответ на | PHP & PostgreSQL ("Boget, Chris" <chris@wild.net>) |
| Список | pgsql-general |
> In the PGSQL fetch functions, you usualy pass the row number
> as a parameter. So you can iterate through the table as many times
> as you want, just create a counter to control the iteration.
Hmm, I guess I could do it that way. I just prefer using
while( $row = pg_fetch_array()) {
> * 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?
> I'm afraid that's true, at least I don't know such a function.
Ok, that's what I was afraid of...
> But I advise you to try the PEAR DB extension from PHP,
> instead of using directly the database functions.
I am starting to use PEAR and will from here on out. The switch
over is a nightmare having to change all the code (and the logic).
Chris
В списке pgsql-general по дате отправления: