php+store procedure+return code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
angie
Forum Newbie
Posts: 1
Joined: Mon Nov 04, 2002 12:16 pm

php+store procedure+return code

Post 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.
Last edited by angie on Mon Nov 04, 2002 1:14 pm, edited 1 time in total.
DeGauss
Forum Contributor
Posts: 105
Joined: Tue Oct 22, 2002 9:44 am
Location: Gainesville, FL

Post 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.

(?)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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?
Post Reply