PHP PDO getting data from pgSQL stored function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi guys,

i need to do a ugly select which i dont want to place in my php code.
I use PDO all the time.

I want to return a structure which is the same as a table i have created.

I want to write it in pgSQL.

Now my question, how can i return that and access it with PHP PDO?
Should I use a cursor or shoul I use the return of the function (if it is possible)?

Can someone provide a piece of example code?

Thanks for help


--
Sent via pgsql-php mailing list (pgsql-php@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php




[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux