classes/database.php
/**
	 * Escape a dangerous value to use in SQL.
	 * Use prepared statements instead of this function.
	 *
	 * @param mixed $value to quote
	 * @return string
	 */
Escape a dangerous value to use in SQL.
Use prepared statements instead of this function.

@param mixed $value to quote
@return string
Escape a dangerous value to use in SQL . Use prepared statements instead of this function . @param mixed $value to quote @return string
public function escape($value)
	{
		if($value === NULL)
		{
			return 'NULL';
		}
		return $this->connection->quote($value);
	}
public function escape ( $ value ) { if ( $ value === NULL ) { return 'NULL' ; } return $ this -> connection -> quote ( $ value ) ; }
Escape a dangerous value to use in SQL.
Escape a dangerous value to use in SQL .
//Don't quote NULL values //Quote using the database-specific method