Hi...

I'm having trouble with my postgresql function and i'm using php script to access the function. I want to insert data into a table that consists of 25 columns through the function. But i only have two columns/fields in my php script that will insert into the table and the rest columns/fields are inserted through the function itself (inserted from the value of another tables).

Here is my pgsql function : (see attachment...