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 Majerle http://majerle.eu
2010/10/25 matthieu <[email protected]> > 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 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
