Re: How to call a PL/pgSQL function in a PHP script?

From: "Viorel Dragomir" <bc(at)vio(dot)ro>
To: <sebastien(dot)baudry(at)baudry-engineering(dot)com>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: How to call a PL/pgSQL function in a PHP script?
Date: 2003-10-02 08:04:42
Message-ID: 049001c388bb$d637f840$0600a8c0@fix.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

$query = "SELECT myfunc(param1, param2, param3)";

vio-
----- Original Message -----
From: "Sebastien Baudry" <sbaudry(at)yahoo(dot)com>
To: <pgsql-php(at)postgresql(dot)org>
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(dot)baudry(at)baudry-engineering(dot)com
> 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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Ahmad Sentri 2003-10-02 08:46:12 Re: How to call a PL/pgSQL function in a PHP script
Previous Message Sebastien Baudry 2003-10-02 08:00:10 How to call a PL/pgSQL function in a PHP script?