bsopkiw
-
Posts
2 -
Joined
-
Last visited
Posts posted by bsopkiw
-
-
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
Connecting To My Web Database
in PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
Posted
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.