|
Session::quoteNameAdd quotes Description
public string mysql_xdevapi\Session::quoteName(string
$name )A quoting function to escape SQL names and identifiers. It escapes the identifier given in accordance to the settings of the current connection. This escape function should not be used to escape values. Parameters
Return ValuesThe quoted string. ExamplesExample #1 mysql_xdevapi\Session::quoteName example
The above example will output something similar to: string(12) "MySQL's test" string(14) "`MySQL's test`" string(28) "Another `test` "like" `this`" string(34) "`Another ``test`` "like" ``this```" |