tranfering multiple checkbox values in another form

Discussion in 'PHP' started by hulkrana, Sep 14, 2007.

  1. #1
    hello frds

    i want to select multiple cehckbox selected values from one form tro another.please advise me ho tot do it for dynamic arrays.
    file is attached.

    thanks
     

    Attached Files:

    hulkrana, Sep 14, 2007 IP
  2. Im The ONE

    Im The ONE Peon

    Messages:
    800
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For Multiple selections use
    
    <SELECT name="select[]" MULTIPLE size="4">
    <OPTION VALUE="abc">asd</OPTION>
    </SELECT> 
    
    PHP:
    and then to access, The values will be stored as $_POST/$_GET['select']['value']
     
    Im The ONE, Sep 14, 2007 IP