On 9/26/06, michael234 [EMAIL PROTECTED] wrote:
I have my appointments_controller..
var $name='Appointments';
function add()
{
$this-set('data', $this-Appointment-Enquiry-find());
if(empty($this-params['data']))
{
$this-render();
Thank you very much for your reply, I have been reading it closely and
try to apply it to my work, however I have found myself stuck in the
same rut.
My problem is really very simply but I've tried everything and can get
a solution. All I need is to populate a field in my appointments form
with
hey Michael,
to use data from multiple tables your controller has to have access to
each of these models either via the assocations that exist between
models or your uses var in your controller.
e.g. Images and Albums
In my Image Model I have a belongsTo association telling cake that
each of