ops.
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Rishab Jain
Sent: Monday, March 28, 2011 3:12 PM
To: cake-php@googlegroups.com
Subject: Re: issue with saving data in model
Thanks Jeremy. It worked.
If possible, do feed in your 2 cents on how t
There's no mystery (especially if you read the guide). As I said, if you don't
include the create statement you are not creating a new record (the value of
$this->id hasn't changed) therefore you stay on the first record you create or
navigate to and only ever update.
Jeremy Burns
Class Outfit
Thanks Jeremy. It worked.
If possible, do feed in your 2 cents on how this worked.
regards,
Rishab
On 3/28/11, Jeremy Burns | Class Outfit wrote:
> Add $this->create(); to your loop before you do the save. If not, you are
> just updating the same record.
>
> Jeremy Burns
> Class Outfit
>
> jere
Add $this->create(); to your loop before you do the save. If not, you are just
updating the same record.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 28 Mar 2011, at 16:21, Rishab Jain wrote:
> Hi All,
>
> I'm facing a very weird problem. I'm trying to s