Re: Stored procedures, PDO, and PHP issue
"Hajek, Nick" <[email protected]> Wed, 19 Aug 2009 15:42:20 -0500
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <AFD16ED07E37C64D963DA24840AA31F2068F09E1@EVSCO01.na.vishayint.com> |
>>> $stmt->bindParam(1, $userId, $hashPass, PDO::PARAM_INT); You should be calling bindParam once for each parameter $stmt->bindParam(1, $userId, PDO::PARAM_INT); $stmt->bindParam(2, $hashPass, PDO::PARAM_STR); Nick