> //$this->User->saveField('confirmed', 0);
> $this->set('value', $value);
> $this->layout = 'ajax';
> $this->render('/errors/hack_attempt');
>
dePixels.com [mailto:d...@widepixels.com]
> Sent: April-28-09 3:29 PM
> To: cake-php@googlegroups.com
> Subject: RE: Check array for duplicate
>
>
> Ok right onseems to get me started.
>
> I have this in my controller but if there is a duplicate its not saving
> which is
irmed', 0);
> $this->set('value', $value);
> $this->layout = 'ajax';
> $this->render('/errors/hack_attempt');
> }
> }
> -Original Message-
> From: bria
o:d...@widepixels.com]
Sent: April-28-09 3:29 PM
To: cake-php@googlegroups.com
Subject: RE: Check array for duplicate
Ok right onseems to get me started.
I have this in my controller but if there is a duplicate its not saving
which is what I want) but skipping past the }else{
Ideas what i
}
-Original Message-
From: brian [mailto:bally.z...@gmail.com]
Sent: April-28-09 3:13 PM
To: cake-php@googlegroups.com
Subject: Re: Check array for duplicate
$this->data['System']['System'] =
array_unique($this->data['System']['Syst
$this->data['System']['System'] = array_unique($this->data['System']['System']);
On Tue, Apr 28, 2009 at 1:33 PM, Dave Maharaj :: WidePixels.com
wrote:
>
> I have modified my form value using Firebug and I get this array (which
> should never happen unless someone has edited the form and tried s