Results 1 to 2 of 2

Thread: need help with database.php

  1. #1
    Join Date
    Nov 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question need help with database.php

    IM working on a adding a membership but i am confused on what there asking me like 'your database' and stuff so please help
    any links to help me with this question are always appreciated

    HTML Code:
    <?
    
    /**
     * Connect to the mysql database.
     */
    $conn = mysql_connect("localhost", "your_username", "your_password") or die(mysql_error());
    mysql_select_db('your_database', $conn) or die(mysql_error());
    
    ?>

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •