{"id":22332523,"url":"https://github.com/theoddysey/campaign-feedback","last_synced_at":"2025-10-30T16:04:30.581Z","repository":{"id":246535429,"uuid":"820609252","full_name":"TheODDYSEY/Campaign-Feedback","owner":"TheODDYSEY","description":"PHP web-based 🕸️ feedback collection 🧺system ","archived":false,"fork":false,"pushed_at":"2024-06-28T11:58:30.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T08:43:29.119Z","etag":null,"topics":["form-validation","php","sql","xampp-server"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheODDYSEY.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-26T20:21:03.000Z","updated_at":"2024-10-30T19:22:43.000Z","dependencies_parsed_at":"2024-06-28T15:13:53.692Z","dependency_job_id":null,"html_url":"https://github.com/TheODDYSEY/Campaign-Feedback","commit_stats":null,"previous_names":["theoddysey/campaign-feedback"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheODDYSEY%2FCampaign-Feedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheODDYSEY%2FCampaign-Feedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheODDYSEY%2FCampaign-Feedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheODDYSEY%2FCampaign-Feedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheODDYSEY","download_url":"https://codeload.github.com/TheODDYSEY/Campaign-Feedback/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605904,"owners_count":20643068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["form-validation","php","sql","xampp-server"],"created_at":"2024-12-04T04:18:31.133Z","updated_at":"2025-10-30T16:04:25.541Z","avatar_url":"https://github.com/TheODDYSEY.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Campaign Feedback\n\nThis project is a web-based feedback collection system for a campaign. It allows users to submit their feedback, which includes their name, email, feedback text, and a rating. The feedback is stored in a MySQL database and can be viewed through a results page.\n\n## Table of Contents\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n- Submit feedback through a web form\n- Store feedback in a MySQL database\n- View submitted feedback in a structured table format\n- Responsive design for both form submission and feedback viewing pages\n\n## Technologies Used\n- HTML5\n- CSS3\n- PHP\n- MySQL\n\n## Installation\n### Prerequisites\n- A web server with PHP support (e.g., Apache, Nginx)\n- MySQL database server\n\n### Steps\n1. Clone the repository to your web server's root directory:\n   ```bash\n   git clone https://github.com/TheODDYSEY/Campaign-Feedback.git\n   ```\n\n2. Import the MySQL database and table structure:\n   ```sql\n   CREATE DATABASE IF NOT EXISTS campaign_feedback;\n\n   USE campaign_feedback;\n\n   CREATE TABLE IF NOT EXISTS feedback (\n       id INT PRIMARY KEY AUTO_INCREMENT,\n       name VARCHAR(100),\n       email VARCHAR(100),\n       feedback TEXT,\n       rating INT,\n       submission_date DATETIME DEFAULT CURRENT_TIMESTAMP\n   );\n   ```\n\n3. Configure database connection settings in the PHP files:\n   - `submit_feedback.php`\n   - `view_feedback.php`\n   \n   Update the following variables with your database credentials:\n   ```php\n   $servername = \"localhost\";\n   $username = \"root\";\n   $password = \"\";\n   $dbname = \"campaign_feedback\";\n   ```\n\n4. Ensure the web server has read/write permissions to the project directory.\n\n## Usage\n### Submitting Feedback\n1. Open the `feedback_form.html` file in a web browser.\n2. Fill out the feedback form with your name, email, feedback, and rating.\n3. Click the \"Submit\" button to submit the feedback.\n\n### Viewing Feedback\n1. Open the `view_feedback.php` file in a web browser.\n2. The feedback entries will be displayed in a table format, sorted by submission date.\n\n## Contributing\nContributions are welcome! Please fork the repository and create a pull request with your changes.\n\n### Steps to Contribute\n1. Fork the repository.\n2. Create a new branch:\n   ```bash\n   git checkout -b feature-branch-name\n   ```\n3. Make your changes and commit them:\n   ```bash\n   git commit -m 'Add some feature'\n   ```\n4. Push to the branch:\n   ```bash\n   git push origin feature-branch-name\n   ```\n5. Create a pull request with a description of your changes.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheoddysey%2Fcampaign-feedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheoddysey%2Fcampaign-feedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheoddysey%2Fcampaign-feedback/lists"}