Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 6th, 2012  |  syntax: None  |  size: 0.36 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to convert multi select form field with GET tto have propper URL?
  2. <select name="channel[]" multiple="multiple">
  3.                <option value="pants">Pants</option>
  4.                <option value="tshirts">T-Shirts</option>
  5.                <option value="sweats">Sweats</option>
  6.             </select>
  7.        
  8. ?channel[]=pants&channel[]=tshirts
  9.        
  10. ?channel=pants+tshirts