A Newbee needs your help

Discussion in 'Programming' started by ICEMAN2303, Dec 5, 2006.

  1. #1
    First i load a grid with all of the information but i need to be able to alow the user to select letter and then refres the grid with on the information that begins with that letter? Please help
     
    ICEMAN2303, Dec 5, 2006 IP
  2. tbarr60

    tbarr60 Notable Member

    Messages:
    3,455
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    210
    #2
    I assume you did a database query to get the data for the grid. Make another page like that one but include the letter variable in the query. If you pass a variable (say myletter) via link you can refer to it as url.myletter so your query could be like:

    select *
    from mydata
    where myletter="#url.myletter#"

    This will get only items associated with that letter and you can display in the grid.
     
    tbarr60, Dec 15, 2006 IP
  3. datropics

    datropics Peon

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #3
    pretty cool spirit
     
    datropics, Dec 16, 2006 IP