Files
lpmj6/11/20.php
T
RobinNixon 0335342e00 First Draft
First Draft of the Example Files
2020-12-10 13:21:38 +00:00

13 lines
294 B
PHP

<?php
function mysql_entities_fix_string($pdo, $string)
{
return htmlentities(mysql_fix_string($pdo, $string));
}
function mysql_fix_string($pdo, $string)
{
if (get_magic_quotes_gpc()) $string = stripslashes($string);
return $pdo->real_escape_string($string);
}
?>