cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Php is not connecting to the database?

We're currently studying databases and we need to connect our website to well, the database. Basically, we need to make a simple but functioning log in/sign up page which can store and retrieve data from our database.

We were given a template to work with, and it works with my classmates. However, it doesn't seem to work with GoDaddy users in class. We've been scratching our heads over it... is there an extra step in developing websites with database functionality for GoDaddy?

1 REPLY 1
Super User III
Super User III

Re: Php is not connecting to the database?

@Manta_Oyamada 

 

I am assuming you are using a cPanel server - do you have the host / port set correctly??

 

When you run your PHP script do you have any error checks in your code to see why it isn't connecting?



I am a GoDaddy End User - Just Like You
Check out my site! | I currently manage over 300 WordPress Websites
* Please note that I offer free advice on this forum. If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community