File: example_tiny.php

Recommend this page to a friend!
  Classes of Thiemo Kreuz  >  TM::Apeform  >  example_tiny.php  >  Download  
File: example_tiny.php
Role: Example script
Content type: text/plain
Description: Basic textarea example
Class: TM::Apeform
A very abstract web form builder and processor
Author: By
Last change: Updated
Date: 11 years ago
Size: 470 bytes



Class file image Download

 * Tiny form example. Shows basic use of textarea, error, submit, isValid and
 * display.
 * @author Thiemo Mättig (

$form = new Apeform();

$message = $form->textarea("Something");
if (empty(
$form->error("Please enter something");

$form->submit("Submit something");

if (
"Thank you!";

For more information send a message to info at phpclasses dot org.