Click to See Complete Forum and Search --> : Where and how do I excute MySQL stored procs?


shanevdw
07-28-2006, 02:14 AM
How do I go about creating stored procedures in mySQL and how can I execute them in PHP? I'm using WAMP5. I want to create scripts but I don't really know where or how to execute them. Can someone please help.

Much appreciated

NogDog
07-28-2006, 02:38 AM
Not an area of expertise for me, but this might get you started: http://dev.mysql.com/doc/refman/5.0/en/stored-procedures.html

chazzy
07-28-2006, 08:09 AM
the best way to call the stored procedure is using mysqli, and specifically mysqli_stmt objects to represent the call to the SP and bind the parameters to it (both in and out).

shanevdw
07-28-2006, 08:56 AM
Thanks will try it out. Much appreciated