You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
JonatanRek 83dbe7888e Require parametr 1 year ago
Form.php Require parametr 1 year ago
LICENSE Initial commit 1 year ago
README.md typo 1 year ago

README.md

PHP_FORM_GENERATOR

Simple php class for generation of HTML forms

Example

$form = new Form('name','1','POST','');
$form->addInput(InputTypes::TEXT,'nadpis','','Label','');
$form->addInput(InputTypes::BUTTON,'nadpis','','Label','test');
$form->addInput(InputTypes::TEXT,'nadpis','','Label','', false);
$form->addInput(InputTypes::TEXT,'nadpis','','Label','');
$arg = array(
	'test_v' => 'test',
	'test_v2' => 'test',
);
$form->addSelect('1', '1', '1', $arg, false);
$form->render();
die();