From 75d6e5d29bfe332d68c617d26e3a8b1828a57893 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Thu, 17 Sep 2009 23:44:31 +0200 Subject: [PATCH] DEL Plus besoin de mysql ... --- php/mysql_tools.php | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 php/mysql_tools.php diff --git a/php/mysql_tools.php b/php/mysql_tools.php deleted file mode 100644 index 9c1e1c7..0000000 --- a/php/mysql_tools.php +++ /dev/null @@ -1,20 +0,0 @@ -prepare("INSERT INTO CountryLanguage VALUES (?, ?, ?, ?)"); -# $stmt->bind_param('sssd', $code, $language, $official, $percent); -function query($query) -{ - $args = func_get_args(); - foreach ($args as $i => $arg) - if (is_string($arg)) - $args[$i] = mysql_real_escape_string($a); - - array_shift($query, $args); - - return mysql_query(call_user_func_array('sprintf', $args)); -} - -?> \ No newline at end of file -- 2.45.2