PHP Classes

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: 14 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!";