Hi,
I have a few questions regarding stored procedures. After hours of googling, I really can't find any really simple query examples.
CREATE PROCEDURE test1(IN uid INT)
BEGIN
SELECT USER_NAME FROM USERS WHERE USER_ID = uid;
END //
this query takes 'uid' as input and selects the username for that uid, Can someone please explain how I call that procedure in php and also, how do I output the actual rows to the php var?