hi,
i still play around with creating a simple relation, and i don't get
it to run.
thanks
pete
TABLES:
status
id
description
project
id
status_id
project_title
CONTROLLER
$this-set('projects', $this-Project-findAll());
every project has one status.
how do i create a relation
Set up a belongsTo relationship in your Project model.
var $belongsTo = array('Status');
should be enough.
On May 24, 2:27 pm, pete [EMAIL PROTECTED] wrote:
hi,
i still play around with creating a simple relation, and i don't get
it to run.
thanks
pete
TABLES:
status
id