From: Eric Chamberlain <Eric.Chamberlain@zonarsystems.com>
To: Hajek, Nick <Nick.Hajek@Vishay.com>
Cc: pgsql-php@postgresql.org <pgsql-php@postgresql.org>
Subject: Re: Stored procedures, PDO, and PHP issue
Date: Wed, 19 Aug 2009 13:47:06 -0700
Message-ID: <62DC7EB1-B4BB-4289-B880-4C7AD1B1AF02@zonarsystems.com> (raw)
In-Reply-To: <AFD16ED07E37C64D963DA24840AA31F2068F09E1@EVSCO01.na.vishayint.com>
References: <AFD16ED07E37C64D963DA24840AA31F2068F09E1@EVSCO01.na.vishayint.com>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: Eric.Chamberlain@zonarsystems.com, Nick.Hajek@Vishay.com
Subject: Re: Stored procedures, PDO, and PHP issue
In-Reply-To: <62DC7EB1-B4BB-4289-B880-4C7AD1B1AF02@zonarsystems.com>
References: <AFD16ED07E37C64D963DA24840AA31F2068F09E1@EVSCO01.na.vishayint.com> <62DC7EB1-B4BB-4289-B880-4C7AD1B1AF02@zonarsystems.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox