Now, whether you get the results you are expecting is another question. Remember, the procedure executes on the DB server-side, not in PHP. If the procedure returns results as a SET, then you should be able to loop through those results with pg_result() as if you had queried a table. If you are returning a single value as a result, you could just do something like
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.