Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $form->addText('name', 'Name:');
- $form->addText('age', 'Age:');
- $form->setDefaults(array(
- 'name' => 'John',
- 'age' => '33'
- ));
- // pokud budou názvy prvků == názvy sloupcům v tabulce, tak by mělo stačit použít http://api.nette.org/2.2.2/source-Database.Table.Selection.php.html#249-255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement