MySQL startup help

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • navaldesign
    replied
    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

    Leave a comment:


  • imnotanerd
    started a topic MySQL startup help

    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:
    PHP Code:
    mysql_connect("localhost""username""password"
    . Do i replace the "localhost" with the database name created, username for username, and password for password?
Working...