form_prep($str)
Parameters: |
|
---|---|
Returns: |
Escaped value |
Return type: |
string |
Allows you to safely use HTML and characters such as quotes within form elements without breaking out of the form.
Note
If you use any of the form helper functions listed in this page the form values will be prepped automatically, so there is no need to call this function. Use it only if you are creating your own form elements.
Note
This function is DEPRECATED and is just an alias for common function html_escape()
- please use that instead.
Please login to continue.