R
R
Respect and good to all2018-05-11 11:35:19
PHP
Respect and good to all, 2018-05-11 11:35:19

What's the easiest way to call a PostgreSQL stored function and output the return value in PHP?

PostgreSQL stored function name: check_login_and_password
Arguments: "input_login" character varying, "input_pass" character varying
Return value: boolean

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ao, 2018-05-14
@darknefrit

$result = pg_query($conn, "SELECT check_login_and_password(arguments)");
Does not work ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question