Quote problem when php.ini not configured correctly
This commit is contained in:
parent
b006732bba
commit
ef0218209a
1 changed files with 2 additions and 1 deletions
|
|
@ -227,7 +227,8 @@ function FormatString($p_string)
|
|||
}
|
||||
$p_string=trim($p_string);
|
||||
if (strlen($p_string) == 0 ) return null;
|
||||
$p_string=str_replace("\"","",$p_string);
|
||||
$p_string=str_replace("\'","'",$p_string);
|
||||
$p_string=str_replace("''","'",$p_string);
|
||||
$p_string=str_replace("'","\'",$p_string);
|
||||
return $p_string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue