I have below stored procedure to check the user name availability
DELIMITER $$;
DROP PROCEDURE IF EXISTS tv_check_email$$
CREATE PROCEDURE tv_check_email (IN username varchar(50)) BEGIN select USER_ID from tv_user_master where EMAIL=username; END$$
DELIMITER ;$$
when i run this from my mysql front end tool, it is working fine
call tv_check_email('[email protected]')
But when trying to execute from the PHP page, i am getting an error like "PROCEDURE mydatabase.tv_check_email can't return a result set in the given context"
Can any one tell me why it is so ?
I am sure that my PHP version is 5.2.6
Thanks in advance