You appear to be a bot. Output may be restricted
Description
Create an HTML textarea field
Usage
$string = iarea( $name, $len, $value, $rows, $extras );
Parameters
- $name
- ( string ) required – the field name
- $len
- ( integer ) required – the length of each row
- $value
- ( string ) required – the textarea content
- $rows
- ( integer ) optional default: 10 – the number of rows
- $extras
- ( string ) optional – any other parameters – a pre-concatenated string of kv()s
Returns
string the HTML textarea tagSource
File name: oik-bwtrace/libs/bobbforms.phpLines:
1 to 11 of 11
function iarea( $name, $len, $value, $rows=10, $extras=null ) { $it = "<textarea"; $it .= kv( "rows", $rows); $it .= kv( "cols", $len ); $it .= kv( "name", $name ); $it .= $extras; $it .= ">"; $it .= $value; $it .= "</textarea>"; return( $it ); }View on GitHub View on Trac