i'm newbie in cake

 echo $this->Form-
>select('country_id',array($countries),null,array('id'=>'countries',
'title' => 'Select country',),false,  'onchange'=show()');

problem:-
1) actually i dun know how to put onchange function in this code
2) 'option'=>value='malaysia' //how to make default is 'malaysia
3) for if statement
 if( 'countries'->malaysia selected)
{
echo $this->data[][];
;}

please reply. the thing is simple, but it makes me blur, even though
most of people said cake is easy


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en

Reply via email to