PHP form class

I use ASPNET and Django methods for forms: beautiful object-oriented handlers, where you can specify regular expressions for validation and make everything very simple.

After several months of living without it, I had to go back to PHP for the project and noticed that everything I did with PHP forms (manual output, manual verification, severe pain) was complete rubbish.

Is there a good, simple, and free class that generates and checks how this should be done?

Clonefish has the right idea, but it does not work on price.

+5
source share
7 answers

( , ) Django PHP CURL.

FILTHY, , Django, .

+1
+6

:

http://code.google.com/p/php-form-builder-class/

, :

include("../class.form.php5");

$form = new form("form_elements");

$form->addHidden("cmd", "submit");
$form->addTextbox("Textbox:", "field0");
$form->addTextarea("Textarea:", "field1");

$form->render();

:

  • (PHP javascript)
  • jQuery, CKEditor/TinyMCE, Google Maps, ..

, :

  • . .

, , /.

+5
+3

0

All Articles