Mysql escape function who gives the younger brother a PHP & nbsp; mysql & nbsp; escape function who gives the younger brother a, the query seems to have to reverse the function, please kindly advise! & Lt; & gt; and other symbols should be able to escape mysql escape functions.
Who will give the PHP mysql escape function to the younger brother? it seems that the function has to be reversed during the query!
<> It should be possible to convert a symbol like this.
Mysql escape
Share To: or something like this should be converted to 'data-pics = ''>
------ Solution --------------------
Reference:
I don't know. it's just a form submission. if you enter MYSQL, it will be converted.
Abc
Isn't that miserable?
This is to be switched. Otherwise, an error will occur.
The warehouse receiving function can be transferred. the warehouse receiving function is not required.
Examples
Example 1. mysql_escape_string () example
$ Item = "Zak's Laptop ";
$ Escaped_item = mysql_escape_string ($ item );
Printf ("Escaped string: % s \ n", $ escaped_item );
?>
The above example will output:
Escaped string: Zak \'s Laptop
Notes
Note: mysql_escape_string () does not escape % and _.
See Also
Mysql_real_escape_string ()
Addslashes ()
The magic_quotes_gpc directive.
------ Solution --------------------
Reference:
44 is new. why is it empty?
You can see that the mysql_escape_string function is followed by a string, but you can give it an array .. The form you received is converted one by one before receiving the database!