Page 1 of 1

php+store procedure+return code

Posted: Mon Nov 04, 2002 12:16 pm
by angie
Please help with the following: What kind of object or function can I use to obteined with php a return code of a store procedure of sql.
Thank you,

Angie.


It has nothing in connection with mysql or the result of a query to mysql. I am talking about sql+calling a store procedure+this sp usually returns a return code+I want to know how to obtain this code by php.
Thank you,

Regards.

Posted: Mon Nov 04, 2002 12:55 pm
by DeGauss
...

Uh.

Okay, i think you're asking how to get a result from a mysql query?

look up mysql_result in the php manual.

(?)

Posted: Mon Nov 04, 2002 2:52 pm
by volka
afaik stored procedures return values like any other record set as long as they are invoked via standard query interface, don't they?