Hi there

I have a 'User' model, and a 'State' model with the appropriate
controllers.

so when i go /users/add_talent which calls add_talent.thtml I have a
dropdown which I want to fill with the states.

My states db is id,name

I have no link in my user model to states, does it need to go into
$hasMany?

When I call add_talent under users, where do I have to put in:

$this->set('states', $this->State->generateList()); in order for my tag
<?php echo $html->selectTag('State/id',
$states,$html->tagValue('State/name')); ?> to work?

I dont even know if those tags work, I haven't got that far yet!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to