forms.php - html form functions
Functions to build HTML forms in a safe and consistent manner. All name, value attributes are htmlentitied.
Form checkbox
Make a <form> start-tag.
An input textbox.
Helper function to create form fields, not to be called directly, only by other functions below.
Form radio box
Function to create a selectlist from an array.
Usage: name: html name attribute values: array ( key => value ) -> <option value="key">value</option> default: the key that will be selected usekeys: use the keys of the array as option value or not
Form submission button
Note the switched value/name parameters!
Textarea form element.
Documentation generated on Sat, 07 Oct 2006 16:31:20 +0300 by phpDocumentor 1.3.0RC6