Database connection

Avatar
  • Answered
Hello,
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?
Avatar
jamesr
Thank you for your question Enese! You can check the following tutorial on how to connect to a database. Connecting to a Database using PHP https://www.inmotionhosting.com/support/website/databases/connecting-to-a-database-using-php You will need that at the top of every page that connects or include it in an include file. Best Regards, James R