Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub / birg81 / php-2022-02-09-shoppingListDB

Hi guys. I developed this PHP code, for demonstration purposes. This code simulates a shopping list, like the one used by mom at the supermarket. The code is written in PHP and MySQL. I wrote a PHP script that allows you to automatically create the DB within the DBMS, if it is not already present (./listaSpesaDB.sql.php). I also wrote a configuration file (./config.inc.php), by modifying this file you can change the DB settings. I also used javascript, in fact there is also a page (leggivoci.html) this page, through the javasript fecth() function, makes an ajax request to a php page (./listaspesa.json.php with content-type: application/json ), this page, like a Servlet, returns the list of items in json format. You shouldn't have too much trouble in tweaking the code and make everything work. In case of difficulties, do not hesitate to contact me. Good luck!

JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birg81%2Fphp-2022-02-09-shoppingListDB

Stars: 1
Forks: 0
Open Issues: 0

License: None
Language: PHP
Repo Size: 4.88 KB
Dependencies: pending

Created: about 2 years ago
Updated: almost 2 years ago
Last pushed: about 2 years ago
Last synced: 11 months ago

Topics: ajax, crud, fetch, javascript, json, mysql, mysqli, php, php8, rest, school, sql, teacher

Files
    Loading...
    Readme
    Loading...