accessing mysql with php

I built/tested my site on virtual server WAMP and works fine.

Loaded through cpanel to actual server online and now the index.php code (specifically the login code referenced in that page) won’t access the database.

Any help on this would be greatly appreciated.

I have changed the passwords, changed the usernames, altered the admins database accordingly, etc. Nothing. Thanks.

BTW, the core of the page, like the html, loads fine. But the database is not being accessed. It is a storefront type site. Should there even be a login code in the index page for the general public to see items in the storefront? Thanks.

You will need to test the connection for the database make sure it is working and the batabase itself is selected and correctly named.
There is usaly a login part on a shop front but you should be able to view the store without logging in to the shop it would be like window shopping.

Sponsor our Newsletter | Privacy Policy | Terms of Service