Creates a <form> html tag.
form($child, $method, $action, $class, $id, $style, $data, $attr);| Parameter | Required | Default |
|---|---|---|
| $child | no | false |
| $method | no | null |
| $action | no | null |
| $class | no | null |
| $id | no | null |
| $style | no | null |
| $data | no | null |
| $attr | no | null |
string
Usage:
echo form('...', 'get','send.php');Result:
<form method="get" action="send.php">...</form>