On 21 July 2010 15:04, Sky Gunning wrote:
> Hello
>
> I have a problem with a update using PDO.
> (learning atm and updating a php class to use PDO)
>
> private function updateUser($id)
> {
> $date = mktime();
>
> $DB = Db::getInstance();
>
> $stmt = $DB->prepare('"UPDAT
Hello
I have a problem with a update using PDO.
(learning atm and updating a php class to use PDO)
private function updateUser($id)
{
$date = mktime();
$DB = Db::getInstance();
$stmt = $DB->prepare('"UPDATE '. TBL_USERS .' SET
date_last_action=:updateDate WHERE
2 matches
Mail list logo