Apologies...I wasn't thinking straight. Try this: $retrieveemail = $this->Retrieveemail->find('first');
$email_address = $retrieveemail['Retrieveemail']['emailid'] ; $email_password = $retrieveemail['Retrieveemail']['password'] ; $this->set('variable', $variable) is only available outside of the controller. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 30 Jun 2010, at 12:26, Rick Dane wrote: > I get this: > > "app\controllers\hushmail\retrieveemails_controller.php (line 170) > > retrieveemail > " > > 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+unsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en