dbEscapeString
The dbEscapeString function is used to prepare a string for insertion into the MySQL database. It will determine the proper PHP "slashes" function to process the data with depending on the LOCALE settings for the Jamroom Database, as well as the database connection. It will attempt to use mysql_real_escape_string whenever possible.
string
dbEscapeString
(string $data, [resource $con = false])
-
string
$data: string to prepare
-
resource
$con: Optional Database resource (only needed if connected to non-Jamroom database)
|