On Sat, Jan 3, 2009 at 9:41 PM, mike mwu...@gmail.com wrote:
...
here is what I have in the view, which I don't think is correct:
? echo $form-create('User', array('action'='add')); ?
? echo $form-input('User.Ethnicity', array( 'type' = 'select',
'multiple' = 'checkbox' ),$ethnicities); ?
awesome, thanks finally working.
On Jan 4, 3:49 am, brian bally.z...@gmail.com wrote:
On Sat, Jan 3, 2009 at 9:41 PM, mike mwu...@gmail.com wrote:
...
here is what I have in the view, which I don't think is correct:
? echo $form-create('User', array('action'='add')); ?
? echo
On Sun, Jan 4, 2009 at 9:12 PM, mike mwu...@gmail.com wrote:
awesome, thanks finally working.
Dang! I forgot to get back to you. Earlier, while I was away from my
computer, I suddenly realised that I may have given you bad info. I
said to do this:
? echo $form-input('Ethnicity.Ethnicity',
I posted about this earlier but I'm still having trouble. I think I
have my models set up properly now:
class User extends AppModel
{
var $name = 'User';
var $hasAndBelongsToMany = array ( 'Ethnicity' = array(
'className'= 'Ethnicity',
'joinTable'