1.can anyone please tell me how to access a function (stored procedure) in postgresql from php.
2.how should i bind a php variable?
my code goes below.
$con = pg_connect("user= password= dbname=");
$result =pg_exec($con, "select * from test");
now, $result will be the result set.
i need to bind every column name of the table to a php variable so that i can use it in my program.
for ex: if name is the first column name,then
please help me.its very urgent.