EscapeStr method

Previous  Top  Next

See Also Properties Methods Events Example
Unit
MySQLServer

Applies to
TMySQLServer component

Declaration
function EscapeStr(const Value: string): string;

Description
Create an escaped MySQL Server ready string, using the mysql_escape_string function, you need to use this on all values you want to put into your own SQL statements, especially if your values may contain characters with special meaning in sql, please see your MySQL Manual for more details.