🖨️ Ink Cartridge Search

Professional PHP Search Application for Printer Ink Cartridges

PHP SQLite JavaScript No TypeScript ✓
🚀

Get Started

Learn how to install and run this application on your local machine or server.

Setup Instructions
👁️

View Demo

See a static preview of what the application looks like when running.

View Demo
📚

Documentation

Read the complete documentation and quick start guide.

Read Docs

✨ Features Included

🔍 Smart Search: Search by cartridge model or compatible printer model
🎨 Color Filters: Filter by Black, Cyan, Magenta, Yellow, and Tri-color
🏷️ Brand Filters: HP, Canon, Epson, and Brother support
💰 Price Range: Filter by minimum and maximum price
📊 Stock Status: Real-time stock availability display
📄 Page Yield: View estimated page count per cartridge
📱 Responsive: Works perfectly on mobile, tablet, and desktop
💾 SQLite DB: No complex database installation required
🎯 21 Cartridges: Pre-loaded with sample data
🎨 Beautiful UI: Modern gradient design with smooth animations

📁 Project Files

PHP Backend:
• index.php - Main search interface
• setup_database.php - Database initialization
• search.php - Search API endpoint
• get_filters.php - Filter options API
• config.php - Database configuration

Frontend:
• css/style.css - Styling and design
• js/app.js - JavaScript functionality

Documentation:
• START_HERE.html - Setup instructions (Start here!)
• DEMO.html - Static preview
• README.md - Full documentation
• QUICKSTART.md - Quick start guide

🎯 Quick Commands

# Navigate to project
cd ink-cartridge-search

# Start PHP server
php -S localhost:8000

# Initialize database
# Visit: http://localhost:8000/setup_database.php

# Access application
# Visit: http://localhost:8000