PHP Classes

File: examples/formbuilder.php

Recommend this page to a friend!
  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: 11 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();
?>