diff --git a/index.php b/index.php index 4a8592d..772fcc5 100644 --- a/index.php +++ b/index.php @@ -25,6 +25,25 @@
+queryString; +} +?> ++ DEBUG INFORMATION: + GET Parameters: + Current Category ID: + Current Category Name: + Current Links Count: + SQL Query for links: ++ + fetchAll(); -error_log("DEBUG: GET Parameters: " . json_encode($_GET)); -error_log("DEBUG: Current Category ID: " . ($current_category_id ?? "NULL")); -error_log("DEBUG: Current Category Name: " . $current_category_name); -error_log("DEBUG: SQL Query for links: " . ($current_category_id ? $link_stmt->queryString : "All Categories Query")); -error_log("DEBUG: Current Links Count: " . count($current_links)); +