Solving problem
-
Find the year with the most people alive given data of year birth and end.
-
Updating database based on spin result.
To use:
Place files in http folder(XAMPP -> htdocs, Ubuntu Apache -> /var/www/html)
Import db.sql to mysql server
Edit database.php, change $host = ''; $dbName = ''; $user = ''; $pass = ''; accordingly