From: Greg Burri Date: Thu, 17 Sep 2009 21:44:31 +0000 (+0200) Subject: DEL Plus besoin de mysql ... X-Git-Url: http://git.euphorik.ch/?p=cl7.git;a=commitdiff_plain;h=75d6e5d29bfe332d68c617d26e3a8b1828a57893 DEL Plus besoin de mysql ... --- 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