Royal Foam - System Check
1. PHP Status
✓ PHP is working! Version: 8.2.30
2. File Check
✓ config.php exists
✓ db_connect.php exists
✓ db_functions.php exists
✓ products.php exists
3. Database Connection
Config loaded. DB Name: shams224466yehia224466
✗ Database connection failed
4. Test Products Page
Click here to open products.php
Click here to test PHP
5. Common Issues
- If you see "404 Not Found": Check Apache is running
- If you see "Database connection failed": Check MySQL is running and database 'royal' exists
- If you see "Table not found": Run the SQL files from the sql/ folder
6. Next Steps
- Make sure XAMPP Apache is running
- Make sure XAMPP MySQL is running
- Create database 'royal' if it doesn't exist
- Run SQL files from sql/ folder
- Try opening: products.php