Ape.MySQL.escape
(since 1.0)
Escape a string for mysql
Description
string
Ape.MySQL.escape
(
)
Escape a string using mysql_escape_string to prepare it for a query
Return values
The escaped string
Examples
sql.query("SELECT nick FROM user WHERE login = '"+Ape.MySQL.escape(mylogin)+"'");
User notes
# No comment
Post a note
CollaborAPE to our wiki !
Find the information you need on the APE Official Wiki : Install, Server, JSF, Help...
