Re: Stored procedures, PDO, and PHP issue - Mailing list pgsql-php

From Hajek, Nick
Subject Re: Stored procedures, PDO, and PHP issue
Date
Msg-id AFD16ED07E37C64D963DA24840AA31F2068F09E1@EVSCO01.na.vishayint.com
Whole thread Raw
In response to Stored procedures, PDO, and PHP issue  (Eric Chamberlain <Eric.Chamberlain@zonarsystems.com>)
List pgsql-php
>>> $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
 

pgsql-php by date:

Previous
From: Andy Shellam
Date:
Subject: Re: Stored procedures, PDO, and PHP issue
Next
From: dimitris.sakellarios@telesuite.gr
Date:
Subject: How to select the source ip address for a connection to the database server