File path: dist/twist/Core/Utilities/Database.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
escapeString
— Escape and sanitise a string ready to be used in a SQL database query
Name | Description |
---|---|
$strRawString | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strRawString = 'foo';
//Call the function escapeString with the example vars
Twist::Database() -> escapeString($strRawString);