Please help me :
I want to call mysql stored procedure in zend1 by doctrine1
My stored procedure is :
CREATE PROCEDURE sp_test()
BEGIN
SELECT 'Number of records: ', count(*) from user;
END//
stored procedure working fine in phpMyAdmin.
But How to call this stored procedure in doctrine1 by zend1
This one is simple query of the doctrine
$data = Doctrine_Query::create ()->select ( "u.id" )->from ( 'user u' )->fetchArray ();
But I want to call sp_test() stored procedure in code .
Thanks,