$query = "SELECT myfunc(param1, param2, param3)"; vio- ----- Original Message ----- From: "Sebastien Baudry" <sbaudry@xxxxxxxxx> To: <pgsql-php@xxxxxxxxxxxxxx> Sent: Thursday, October 02, 2003 11:00 AM Subject: [PHP] How to call a PL/pgSQL function in a PHP script? > Hi, > I created functions (using PL/pgSQL) in my PostGreSQL database and now I try > to call them in my PHP script but it doesn't succeed. > I can open a connection to the database, run a simple query and get the > result, but I don't know how to do with the functions. > Anybody could help me? > > -- > Sébastien BAUDRY - DBA Oracle/MS-SQL & Project Manager > BAUDRY ENGINEERING BT. H-1025 Budapest Verhalom utca. 31/D. I/8. > @.: sebastien.baudry@xxxxxxxxxxxxxxxxxxxxxx > mobile.: +36-30-392-0279 / tel: +36-1-326-0241 / fax: +36-1-326-0241 > http://www.baudry-engineering.com > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend