Debugging
Revert "Debugging"

This reverts commit bd83d1f40e6296613f05ff2ee65cad4caf815375.
Fix database connection problem

I beleive the isse with the previous code was from using the mysqli
functions, which are newer than the mysql functions. Our servers version
of PHP must now support the mysqli functions, so be wary of that