ajout db_escape_string()
This commit is contained in:
parent
e9ef77e1c6
commit
1f25435842
@ -21,6 +21,13 @@ function db_fetch_row($res) {
|
|||||||
return $row;
|
return $row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fonction db_escape_string
|
||||||
|
// Retourne ûne chaîne échappée
|
||||||
|
function db_escape_string($db, $string) {
|
||||||
|
$str = $db->real_escape_string($string);
|
||||||
|
return $str;
|
||||||
|
}
|
||||||
|
|
||||||
// Fonction : db_free
|
// Fonction : db_free
|
||||||
// Libère la mémoire
|
// Libère la mémoire
|
||||||
function db_free($res) {
|
function db_free($res) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user