I know it’s too long because I was busy with another project. Anyways, I did exactly what I did and the same problem still arises. But thanks for your help anyways.
As for the database, it was already done before I even had this problem
On windows table names are case insensitive, but on linux are not. Go to your DB management system (PHPmyadmin or similar) on your hosting account and double check the exact name of the table.