Here's the solution if anyone is interested. shrugs
/games/<?php echo $row_gamesList['game_file']; ?>?games_path=<?php echo $row_gamesList['games_path']; ?>&category_id=<?php echo $row_gamesList['category_id']; ?>
Added the database category "game_file" then linked it dynamically to the website. "game_file" contains all 400 static php ...
You are not uploading your files to the correct folder.
If you are on a hosting service, there are two locations where you could upload your site:
Your home directory
Your public_html directory
You should upload the files in the public_html directory.
The reason you are seeing 'Index of ...' is because the directory you are trying to reach is empty.