Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67411

Form select query output - array

$
0
0

I want my select form to return query like this

http://myexamplesite.com/store/?brand=nike+adidas+woodland

but it returns

http://myexamplesite.com/store/?brand=nike&brand=adidas&brand=woodland

What kind of change I have to make for the form

I tried setting the select - name="brand[]" name="brand[0]" but it returns

brand%5B0%5D=adidas&brand%5B0%5D=nike

Viewing all articles
Browse latest Browse all 67411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>