ksdp3665
10-23-2004, 10:20 PM
Hi,
I am a newbie..... Sorry...
Anyway, I have sample PHP code to help me setup a database oriented website. But, the samples all connect to the database server using 'localhost'. If the database is being served by a web hosting company, and the PHP code has been uploaded to the site, what parameters should be used in the "@ $db = new mysqli" line of code?
Any help is appreciated.
Scott
I am a newbie..... Sorry...
Anyway, I have sample PHP code to help me setup a database oriented website. But, the samples all connect to the database server using 'localhost'. If the database is being served by a web hosting company, and the PHP code has been uploaded to the site, what parameters should be used in the "@ $db = new mysqli" line of code?
Any help is appreciated.
Scott