I have a main content page (pages/maincontent.php
) that uses a class (scripts/Database.php
) to connect to a DB. Everything is working fine.
But also, I want to update the information by clicking on a button (pages/parts/roomline.php
, js/scripts.js
) using the file (pages/parts/updateInformation.php
) which will represent this information and display it on the main page. But I get an error importing a database file and I have no idea why it occurs.
GitHub: https://github.com/Leopold95/UniversityRooms
1