Spaces:
Running
Running
Commit History
-
Custom E-Commerce Showcase Prompt
Verified signatureGoal: Generate the complete PHP code and MySQL database structure for a simple product showcase website. Key Requirements: * Technology: The entire application must be built using PHP for the backend logic and front-end rendering. * Database: A MySQL database is required for storing product data and user credentials. Please provide the SQL schema to create the necessary tables. * Core Functionality (Product Showcase): * A simple, clean public-facing page that displays all products. * Each product must show a picture (stored locally, with the path saved in the database) and a button/link (which uses the stored Amazon affiliate URL). * Admin Area: * A secure admin login page (e.g., /admin.php). * The admin must be able to log in using credentials stored in the database. * Once logged in, the admin must have a simple form to upload a product picture and paste the corresponding Amazon affiliate link. * The system should save the image file and the affiliate link to th…3b11c5d