RAINBOW TOYS - ONLINE ITEM PRICE SEARCH
Target URL: https://price.rainbowtoyslb.com/

FILES
- index.php: public search page
- search.php: search API
- config.php: database and admin password settings
- install.php: creates the MySQL table (run once, then DELETE it)
- admin.php: password-protected CSV importer
- items.csv: initial data exported from the supplied Excel workbook

EXCEL COLUMNS
A = Item Number
B = Description
C = Price

INSTALLATION
1. In cPanel, create a MySQL database and database user. Add the user to the database with ALL PRIVILEGES.
2. Open config.php and replace YOUR_DATABASE_NAME, YOUR_DATABASE_USER, YOUR_DATABASE_PASSWORD.
3. Change ADMIN_PASSWORD to a strong private password. Change CURRENCY_LABEL if needed (default $).
4. In cPanel, create the subdomain price.rainbowtoyslb.com and note its Document Root.
5. Upload all PHP files to that Document Root. Upload items.csv there too.
6. Visit https://price.rainbowtoyslb.com/install.php once. If successful, immediately delete install.php from hosting.
7. Open https://price.rainbowtoyslb.com/admin.php, log in with the password from config.php.
8. Upload items.csv to import the initial items.
9. Test public search at https://price.rainbowtoyslb.com/

UPDATING PRICES
Open the Excel file and use Save As > CSV UTF-8 (Comma delimited). Keep columns A, B, C in that order and a header row is recommended. Then upload the CSV from admin.php. Import replaces all existing records.

IMPORTANT
- Do not upload config.php contents or share the database password.
- Use HTTPS/SSL for the subdomain.
- The importer replaces the full list; keep a backup of the CSV before importing.
- Search returns up to 100 matches.
