Re: MySQL startup help
Locahost remains as is, username and password should be replaced with teh actual ones.
Then you should add a second part of code, for the Database selection. And then all the rest.
However, teaching PHP and MySQL are outside the scopes of this forum, the question you have made indicates that you are far away from having php/mysql experience.
A good starting point for html / php / mysql is http://www.w3schools.com/html/default.asp
MySQL startup help
Collapse
X
-
MySQL startup help
I'm thinking about making a site with mysql. I have made a database in cPanel. But i have one problem. Here is the code:. Do i replace the "localhost" with the database name created, username for username, and password for password?PHP Code:mysql_connect("localhost", "username", "password")
Tags: None
Leave a comment: