mysql.function.php