Monday, October 25, 2010

Re: Savefield won't work, or randomly...

Thank you so much, I was blocked with this since this morning, it
works perfectly thanks

On Oct 25, 1:09 pm, Tilen Majerle <tilen.maje...@gmail.com> wrote:
> instead of this use:
>
>  $data = array(
> "ChannelsTwitterId" => array(
> "id" => $find_id,
>  "last_twitt_id" => $last_twitt_id
> )
> );
>  $this->ChannelsTwitterId->save($data, false); //without validation
> --
> Tilen Majerlehttp://majerle.eu
>
> 2010/10/25 matthieu <matthieu.rolland1...@gmail.com>
>
> > Hello everyone;
>
> > Savefield doesn't work, I don't know why, here is the code
>
> >        $this->ChannelsTwitterId->id = $find_id;
> >        $this->ChannelsTwitterId->saveField('last_twitt_id',
> > $last_twitt_id);
>
> > I test the values $finnd_id and $last_twitt_id juste before and they
> > are correct... and there is no mistake in 'ChannelsTwitterId'.
>
> > my $last_twitt_id is a string of numbers, I tried making it an
> > integer, but it still doesn't work...
>
> > The structure of the colomn in mysql:  varchar(50) utf8_bin
>
> > Did someone have the same problem?
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: