Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Stored procedures, PDO, and PHP issue



>>> $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
 


Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group