How to connect remote database using php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to connect remote database using php?

I'm working on bluehost and want to connect database with my website for login form. Please help me.

27th May 2021, 4:47 AM
Abhishek Kumar
Abhishek Kumar - avatar
3 Answers
+ 1
if you know how to connect to your database locally you already can connect it remotely just change you connection credentials to your remote database database server database user password for this user finally password don't forget to check database server timezone too
27th May 2021, 9:12 PM
Mustafa Emad
Mustafa Emad - avatar
Download camp and search in Google how to connect MySQL db in PHP.
28th May 2021, 4:56 PM
Asqar Arslonov
Asqar Arslonov - avatar