wamp server php registration and mysql

Discussion in 'PHP' started by phpwreker, Dec 9, 2011.

  1. #1
    where do i keep the mysql file

    to work with a php registration file when i am running a wamp server in my pc

    www folder ?
     
    phpwreker, Dec 9, 2011 IP
  2. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Everything reside in the WAMP installation directory under saperate sub-directories. PHP, MySQL, Apache and all the add-ons and modules are under same directory.
    You need to put your documents in WAMP/www/ in order to make them accessible via browser.
     
    Just need it, Dec 10, 2011 IP
  3. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #3
    By "the mysql file" do you mean a backup of the database, the database itself, a data file used in the database or the PHP file that accesses the database? "the mysql file" can have many meanings.
     
    Rukbat, Dec 10, 2011 IP
  4. phpwreker

    phpwreker Greenhorn

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    i mean the mysql file .. a mysql table for example..

    which is supposed to work with a php registration script...

    tablename.sql .. something like that

    that table ?
     
    phpwreker, Dec 11, 2011 IP
  5. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #5
    why dont you access the database directly through phpmyadmin ? that should be at http://localhost/phpmyadmin
    all the MySQL databases should be listed there
     
    Just need it, Dec 11, 2011 IP
  6. phpwreker

    phpwreker Greenhorn

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    this is actually for a registration form to work...

    i have an html form ..
    a php processform.php ..
    and a table... ..

    the php code is supposed to insert values into the database..

    to be honest i am lost now
     
    phpwreker, Dec 11, 2011 IP