You are here

function bb2_db_escape in Bad Behavior 6.2

Same name and namespace in other branches
  1. 5.2 badbehavior.module \bb2_db_escape()
  2. 6 badbehavior.module \bb2_db_escape()
  3. 7.2 badbehavior.module \bb2_db_escape()

Escape a string for database usage

Parameters

string $string:

Return value

string

File

./badbehavior.module, line 137
Integrates Bad Behavior with Drupal

Code

function bb2_db_escape($string) {
  return db_escape_string($string);
}