Hello,
I'd like automatic filling in a form field, for example a textbox with
the data from the database. Is that possible?
For example, how I have to name my form field and name my varabel? :
/view/example.ctp
form->input('data');
/controller/some_example.php
function example()
{
this->set('data',this->model->find());
}
Thank you in advantage
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---