This function escacpe the single quotes, double quotes and unwanted symbol from our passing strings.
Format :
========
mysql_escape_string(string_name);
Format :
========
mysql_escape_string(string_name);
Example:
======
$first_name = mysql_escape_string($first_name);
Keep in mind:
=============
mysql_escape_string() cann't escape the % and _.
$first_name = mysql_escape_string($first_name);
Keep in mind:
=============
mysql_escape_string() cann't escape the % and _.
0 comments:
Post a Comment