MYSQL Vs Stored Procedure

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
jaylin
Forum Commoner
Posts: 68
Joined: Fri Nov 18, 2005 4:44 am

MYSQL Vs Stored Procedure

Post by jaylin »

Hi all,

is it possible to use stored procedure in php? now, i use mysql as database and i want to make my db access through stored procedure by php.

it is possbile. if yes, can u point me the way (example, tutorial or links)? also i go much google, i don't fint the way.

regards,
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

jaylin
Forum Commoner
Posts: 68
Joined: Fri Nov 18, 2005 4:44 am

Post by jaylin »

i dun find the way that php connect and access mysql stored procedure.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Code: Select all

mysql_query("CALL sp_function('asd','sdf')");
Post Reply