My best guess is that you deleted your files and not your database. If you or your host does not have a backup, it would be hard to get any themes, plugins, or any custom modifications back, but your post and settings should at least be within your database.
[ Moderator note: Please use the Codex links when possible and not your own site. ]
https://codex.www.ads-software.com/WordPress_Optimization/Caching#Browser_Caching
You can recover from this by uploading the stock WordPress file and then configuring your WordPress admin to connect to your existing database through your wp-config.php file. You will also want to copy any theme or plugin content to the wp-content directory as well. After doing that, you might need a bit more tweaking, but that should get you going in the right direction.
Be sure to keep backups of all of your files at all times as well just in case something goes wrong. I do know that Hostgator uses cPanel in which you could generate a cPanel backup whenever you make changes to be sure that you have a copy in case something goes wrong. I’m not sure about their specific steps to do so, but it should be something similar to the article that we have available on our site:
[ Moderator note: Please use the Codex links when possible and not your own site. ]
https://codex.www.ads-software.com/WordPress_Backups
-Jeff Matson
[sig moderated as per the Forum Rules]