I am trying to get an INOUT parameter from MySQl using PHP and PDO but getting:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1414 OUT or INOUT argument 2 for routine xoompage.sp_send_password_reset is not a variable or NEW pseudo-variable in BEFORE trigger' in C:\\xampp\\htdocs\\xoompage\\password_reset.php:17 Stack trace: #0 C:\\xampp\\htdocs\\xoompage\\password_reset.php(17): PDOStatement->execute() #1 {main} thrown in C:\\xampp\\htdocs\\xoompage\\password_reset.php on line 17