InMotion Hosting Support Center

Database connection

Category: Databases

2013-02-25 1:12 pm EST

Hits: 383
I created database, user and download xampp, but I dont know how to connect my database's url. How can I connect to my database through my code? What is the url of my database or php file? Which php file should I edit?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,889 Points
2013-02-25 1:18 pm EST
Thank you for your question Enese!

You can check the following tutorial on how to connect to a database.

<a href="" target="_blank">Connecting to a Database using PHP</a>

You will need that at the top of every page that connects or include it in an include file.

Best Regards,
James R

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!