View Single Post
  #9 (permalink)  
Old 16-01-2008, 08:42 PM
LeadMagnet's Avatar
LeadMagnet LeadMagnet is offline
Mr. Tambourine Man
 
Join Date: Jun 2007
Location: Ireland
Gender: Male
Posts: 1,539
Default

Quote:
Originally Posted by jwade_m View Post
The programmer said that the website and the database must be with the same company. Is this true?
No, that's not true. It makes very little sense to have the database and the website on different hosts in your case, but it can be easily done.


in the following code (which he will have used in his php to connect to the mysql database)
Code:
$db = mysql_connect("localhost","username","password");
all he has to do is replace "localhost" with the address of the database. It's that simple. Ok, i've never tried it, but it SHOULD be that simple.

My hosting service is with http://www.exitblue.com/ It's perfect for what i want, quite cheap, all the bells and whistles come pre-installed and setup for you and the clincher is that the support is top-notch.
__________________
Subtlety is my middle name... and first and last in case you didn't get the point.
Reply With Quote