Thursday, June 28, 2012

cant access multiple textboxes values

Im using multiple textboxes with the same name want to get values from the form i knw in PHP we use get bt i tried cake is not working,please help
This is my textbox:<input type="text" name="description[]" id="description" />
                              <input type="text" name="description[]" id="description" />
                               <input type="text" name="description[]" id="description" />
,how do i access this in my controller using $this->data[Mymodel][Name] and get each textbox vale according its index

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: