Hostgator Exclusive : 20% discount coupon code
Click here to avail the free hostgator coupon code
Bluehost : New to php and mySQL
By web hosting in Bluehost Host
Host unlimited blogs, websites for $4.95 only with this web host
Register domain names for less than a dollar here
Bluehost is among our best web hosts. Sign up with bluehost here
This is a bluehost question posted by myclr23 on 07 November 2008
I’m not sure I understand the file structure within Bluehost. For example, I have a sample .php code that tries to upload a file to a mySQL database. I don’t think I’m pointing to the database correctly. Here’s part of the code I’m trying to work with:
$db = mysql_connect(”localhost”, “root”,”");
mysql_select_db(”mybuddy”,$db); //connects to our mybuddy database
//replace the above two string’s with your database specific valuesI saved the .htm and .php forms under the /public_html/ directory. Not sure where exactly the database location i,s even after checking phpMyAdmin.
You can read more about bluehost in detail or sign up now with bluehost web hosting
This web hosting blog is proudly hosted with reliable Hostgator webhosting for only one cents through this hostgator coupon. If you're new here, you may want to subscribe to this web hosting RSS feed








