Sorry to ask such a simple question, but I can't find where it is
explained.
I have two models:
User belongsTo Status
Status hasMany User
When I create a new user, I want to generate a select box to choose
the status.
users_controller.php:
class UsersController extends AppController
{
var
var $uses = array('User',Status')
then you can use $this-Status. Or, just use $this-User-Status (the
Status instance will be created on the User because of the
association).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the