Re: Stored procedures, PDO, and PHP issue
Eric Chamberlain <[email protected]> Wed, 19 Aug 2009 13:47:06 -0700
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <[email protected]> |
Wow, I apologize. The code is exactly like what yours is. In my rush I missed the correct code. Eric > >>> $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 >