A little help needed with a directory script

Discussion in 'PHP' started by virtualkev, Nov 2, 2005.

  1. #1
    Can any one help?I am just starting to learn PHP and i am having trouble with a script for up dating listings on a directory i just keep getting a page saying no database selected.The part of the script that i thing is wrong is Login and Editing Functions (update) i have search for hours but i cant the problem anywhere and thought it was time to ask for some help.any help will much appreciated.You can find the script here http://www.indexofhosting.com/script

    Thanks
    Kev
     
    virtualkev, Nov 2, 2005 IP
  2. WhatiFind

    WhatiFind offline

    Messages:
    1,789
    Likes Received:
    257
    Best Answers:
    0
    Trophy Points:
    180
    #2
    Probably you are missing in your header a include-file that connects you to the database. Check your page for instance 'add-url', open it and check the header of that page, copy the includes to the other page. Hopefully this will get you started.
     
    WhatiFind, Nov 2, 2005 IP
  3. virtualkev

    virtualkev Peon

    Messages:
    364
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This page runs the same header as the rest of the pages that work fine:confused:
     
    virtualkev, Nov 2, 2005 IP