can you do something like this also?:

 $data = array(
     'commentCount' => '(commentCount+1)'
);
$where = "postID = 1";
$this->update($data, $where);

For me this doesn't work?

  Thank You
Daniel Latter

 2008/12/10 Rolando Espinoza La Fuente <[email protected]>
>
> On Tue, Dec 9, 2008 at 12:20 PM, Markus Hausammann
> [...]
> >
> >             $row->pointer = 'pointer + 1';
> >
>
> Maybe you want to do this:
>
>        $row->pointer = $row->pointer + 1;
>
> Is the same as
>        $row->pointer++;           // ++$row->pointer;
>
> Cheers,
>
> --
> Rolando Espinoza La fuente
> Pro Soft Resources  Inc.
> www.prosoftpeople.com

Reply via email to