Re: Stored procedures, PDO, and PHP issue

Поиск
Список
Период
Сортировка
От Eric Chamberlain
Тема Re: Stored procedures, PDO, and PHP issue
Дата
Msg-id 62DC7EB1-B4BB-4289-B880-4C7AD1B1AF02@zonarsystems.com
обсуждение исходный текст
Ответ на Stored procedures, PDO, and PHP issue  (Eric Chamberlain <Eric.Chamberlain@zonarsystems.com>)
Список pgsql-php
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
 

В списке pgsql-php по дате отправления:

Предыдущее
От: Eric Chamberlain
Дата:
Сообщение: Overloaded stored procedures, PDO, and PHP issue
Следующее
От: Andy Shellam
Дата:
Сообщение: Re: Stored procedures, PDO, and PHP issue