MobileMart Phones UI
======================

This package contains a simple PHP UI to browse your scraped phones stored in MySQL.

Files
-----
- config.php   : DB connection + helpers (edit DB_USER/DB_PASS if needed)
- index.php    : listing with search, price filters, sort & pagination
- preview.php  : detail page with image, overview, key specs, table view
- schema.sql   : database schema (run once before using)

Quick Start
-----------
1) Create DB/table:
   - Import schema.sql in phpMyAdmin (Import) OR run from CLI:
       mysql -u root -p < schema.sql

2) Copy all files to your PHP web root (e.g., htdocs/mobiles/).

3) Edit `config.php` credentials if needed.

4) Open in browser:
   http://localhost/mobiles/index.php

Notes
-----
- The UI expects the `phones` table to be populated by your Python scraper's SQL dump.
- If your images are saved locally outside the web root, either adjust paths to be web-accessible
  or host them via a simple proxy script.
- Add more indexes depending on your query patterns if the table grows large.

Built: 2025-10-08T06:04:52.889592Z
