generating hyper-links dynamically that work like quering the database

Discussion in 'Perl' started by Rakish, Jun 30, 2006.

  1. Rakish

    Rakish New Member

    Joined:
    Jun 30, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    Hi Gurus,

    I have to query the database (MySQL) and display the titles of profiles
    submitted by a particular user.
    The user should be able to view a particular profile just by clicking
    any of the listed links.

    Its like the generated hyperlinks should act as a way to query the
    database.... Really dont know (Helpless)

    I am able to provide a list of all the projects submitted by a user,
    but i dont know how to make a hyper-link that, when clicked, displays
    that profile.

    I will really appreciate all you gurus for any kind of help.

    Thanks.

    Rakesh
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Just pass id in the url of the user profile you want to display and fetch the data based on that id. Something like http://www.go4expert.com/member.php?u=1336 and it fetches the data based on the id.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice