Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/formbuilder.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ordland Euroboros  >  PHP GUI API  >  examples/formbuilder.php  >  Download  
File: examples/formbuilder.php
Role: Example script
Content type: text/plain
Description: An example formbuilder script
Class: PHP GUI API
Render HTML pages composed programmatically
Author: By
Last change:
Date: 2 years ago
Size: 348 bytes
 

Contents

Class file image Download
<?php

$form 
= new FormBuilder("login""""post");
$form->buildComment("username: "FALSE)
     ->
buildTextField("username")
     ->
buildComment("password: "FALSE)
     ->
buildPasswordField("password""pass"""TRUE)
     ->
buildButton("Submit""submit""submit");
echo 
"<u>Simple Login Form:</u> <br>";
echo 
$form->render();
?>