RE: This can't be good.
Well, I don't know. It all looks correct, but I know that 000webhost uses different settings, especially for the $dbhost value depending on which server you are on, so if you had the wrong value that is meant for another server that would cause the error because it is for the wrong 000webhost server. I guess just make sure you have the right value for $dbhost for the server you are on.
Brandon
|