J_ConnectDB(); $juice->J_SelectDB(); $juice->set_char_utf8(); $sql_v = "UPDATE tbl_downloads SET views = views + 1 WHERE download_id = '".$_GET["id"]."'"; $juice->J_ExecuteNonQuery($sql_v); $sql_v = "UPDATE tbl_downloads SET downloads = downloads + 1 WHERE download_id = '".$_GET["id"]."'"; $juice->J_ExecuteNonQuery($sql_v); $juice->J_Close(); include("includes/download.php"); ?>