I usually just use the nifty isset() php function, as in: if(isset($this->data['Contact']['email']) { //do some stuff relevant to your ultimate goal }
On Jul 27, 2:23 pm, Baz <[EMAIL PROTECTED]> wrote: > I'm a bit unclear here. Since there's not ->read() or ->findAll(), how do we > know that there is a $this->data['Contact']['email']? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---