Answer the question
In order to leave comments, you need to log in
How to pass GET separated by commas without using JS?
Good day, dear forum users!
I need your help.
The page has a form with several <select>
and <input>
. It is necessary to make sure that when sending, they are indicated separated by commas.
Instead of: site.ru/page?q=1&w=2&e=3
This: site.ru/page?1,2,3
Are there ways to implement this without the help of JS? I would like to know your advice.
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
What for? You can create arrays:
<select name="select[]"></select>
<select name="select[]"></select>
<input name="input[]">
<input name="input[]">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question