I have an uber-noob question:

My view has a "select" that is not associated with any models:

  echo $form->select('site_id', array('1'=>'Site 1', '2'=>'Site 2'),
'1', array('id' =>'sites', 'label'=>'Site:'));

How do I get the value of the "select" from the controller?  The most
logic solution is:

 $this->data['site_id']

But that doesn't work.



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

Reply via email to