thanks you all for this information. Finally I think I'll move forward with this line:
<? echo $form->input('', array('label' => 'URL', 'id' => '', 'name' => 'data[Blogurl][url][]')); ?>
Anyway I need to check how it works once it's POSTed.
If this succeeds OK I'll send you the relevant part of the view; but surely won't work with the saveAll method. Probably I'll write a custom method in the Blog model to save URLs.
Thanks again!
Nicolás Andrade
nmac@nicoandra.com.ar
Blog | CV | Flickr | Del.icio.us | LastFM
On Sun, Aug 30, 2009 at 6:21 AM, WebbedIT <paul@webbedit.co.uk> wrote:
[Blogurl] => Array(
[0] => Array
(
[url] => http://www.url1.com
)
[1] => Array
(
[url] => http://www.url2.com
)
)
)
See:http://book.cakephp.org/view/75/Saving-Your-Data
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment