Function Database_Static_mysqli->escape_string
Definitions
sources/database/mysqli.php
- Escape a string so it may be inserted into a query. If SQL statements are being built up and passed using db_query then it is essential that this is used for security reasons. Otherwise, the abstraction layer deals with the situation.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$string | string | required parameter | N/A | N/A | The string |
Return
- The escaped string
- Type: string
- Set: N/A
- Range: N/A