Comment System (PHP + MySQL) with forbidden words JSON filter

FILES
- index.php                UI (list + form)
- config.php               DB config (edit credentials)
- db.sql                   Create database + table
- forbidden_words.json     Words that are not allowed (edit as needed)
- api/list.php             Returns latest comments as JSON
- api/add.php              Adds a comment (validates forbidden words)

SETUP
1) Create DB + table:
   - Import db.sql in phpMyAdmin OR run it in MySQL CLI.

2) Edit config.php (host, dbname, user, pass).

3) Upload the folder to your webspace (Apache/Nginx with PHP 8+).
   Ensure the /api folder is accessible.

USAGE
Open index.php in the browser.
