CI_DB_driver::escape_str()

escape_str($str[, $like = FALSE])

Parameters:
  • $str (mixed) – A string value or array of multiple ones
  • $like (bool) – Whether or not the string will be used in a LIKE condition
Returns:

The escaped string(s)

Return type:

mixed

Escapes string values.

Warning

The returned strings do NOT include quotes around them.

doc_CodeIgniter
2016-10-15 16:31:05
Comments
Leave a Comment

Please login to continue.