prepare($sql); $stmt->execute($params); $products = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch (Exception $e) { $products = []; } // --- 3. FETCH CATEGORIES FOR SIDEBAR --- try { // Agar alag table hai 'categories' to wahan se layein, warna products table se distinct nikal lein $catStmt = $pdo->query("SELECT DISTINCT category FROM products WHERE category != ''"); $categories = $catStmt->fetchAll(PDO::FETCH_COLUMN); } catch (Exception $e) { $categories = []; } ?>

Our Shop

Browse Premium Scripts & Codes

Search
Categories
All Products

No categories found.

Price Range
₹0 ₹10,000+
Special Offer

Get 50% Off on all PHP Scripts.

Showing results
0): ?>
Product

No Products Found

Try adjusting your search or filters.

Clear Filters
0): ?>
Your Cart
Checkout Details
Item Added to Cart!