Retrieving from db and forcing value into an input tag

Discussion in 'Programming' started by kimimaro, Mar 18, 2009.

  1. #1
    Hi as the topic stated I would like to retrive a lot of values from the database and insert them all into a single input tag

    example is from the db


    a b c d e f g from the same column alphabet


    i would like to insert in an input type regardless of checkbox, text or hidden as long as the value is separated by comma

    "a,b,c,d,e,f,g"

    and later the db can retrieve it as


    select *
    from alphabet
    where alphabet in
    (
    <cfqueryparam value="form.input".....>
    )
     
    kimimaro, Mar 18, 2009 IP
  2. kimimaro

    kimimaro Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Moderator feel free to delete this post I already found the way.
     
    kimimaro, Mar 18, 2009 IP