How to connect remote database using php? | Sololearn: Learn to code for FREE!

+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.

php

5/27/2021 4:47:23 AM

Abhishek Kumar

3 Answers

New Answer

+2

https://code.sololearn.com/w0tS17Fc1n2X/?ref=app https://code.sololearn.com/wWJixsFRJVUN/?ref=app https://code.sololearn.com/w5K8rnss5T27/?ref=app

+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

0

Download camp and search in Google how to connect MySQL db in PHP.