bsopkiw Posted July 29, 2015 Share Posted July 29, 2015 Hey guys. I need some serious help. I was working on building my website and was using xampp as my local host. My website was made to generate almost everything from the database. While I work locally it works fine, but once I upload my files through filezilla all I get is my basic index.php and style.css. When I work locally I use the following connection code: $con = mysqli_connect ("localhost","root","","database_name"); I don't know what to do or change when I upload the files to get my website to look at the web server. Any help would be greatly appreciated! Side note. I am using hostica has my hosting service if that helps Link to comment Share on other sites More sharing options...
Larry Posted July 29, 2015 Share Posted July 29, 2015 Your hosting company can provide you with the right values to use to connect to MySQL. This assumes the database has been created on the server, too. Link to comment Share on other sites More sharing options...
bsopkiw Posted July 29, 2015 Author Share Posted July 29, 2015 By on the server do you mean on the hosting web site? I have the database uploaded inside of hostica and it's ready to go. Link to comment Share on other sites More sharing options...
Larry Posted July 29, 2015 Share Posted July 29, 2015 Yes, exactly. Link to comment Share on other sites More sharing options...
Recommended Posts