What does the 0 do?

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Adriano Varoli Piazza
Sent: Wednesday, December 24, 2008 7:26 AM
To: CakePHP
Subject: Re: Saving Multiple Models in one save


In a similar situation, my add view looks like this:

echo $form->label('Patrimonio.0.tipo', 'Label text:'); echo
$form->text('Patrimonio.0.tipo');

Notice the 0.

--
Saludos,
Adriano



--~--~---------~--~----~------------~-------~--~----~
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