MySQL startup help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • imnotanerd
    Private First Class

    • Aug 2010
    • 7

    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?
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    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
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    Working...
    X