You appear to be a bot. Output may be restricted
Description
Create a form tag
Usage
$string = form( $action, $method, $class, $extras );
Parameters
- $action
- ( string ) optional – action to perform
- $method
- ( string ) optional default: post – post/get
- $class
- ( string ) optional – CSS class name
- $extras
- ( string ) optional – additional tag parameters
Returns
string HTML form tagSource
File name: oik-bwtrace/libs/bobbforms.phpLines:
1 to 9 of 9
function form( $action="", $method="post", $class=null, $extras=null ) { $form = "<form"; $form .= kv( "method", $method ); $form .= kv( "action", $action ); $form .= kv( "class", $class ); $form .= $extras; $form .= ">"; return( $form ); }View on GitHub View on Trac