open_form
function open_form($attributes = array())
Returns string containing a FORM element opening tag with ACTION attribute referring current page. This function allows you to not bother about specifying ACTION attribute for each form on your website.
Parameters
- $attributes - array. Optional associative array of attributes to set to the FORM tag.
Return value
Returns string.
Examples
The following code outputs a FORM tag with specified ID attribute.
<?= open_form(array('id'=>'my_form')) ?>
...Next: option_state
Previous: include_resources
Return to Reference

