I know this may be already answered but i am not able to find anything related to this. So here is the thing i am struggling with :-
I have two value which i am passing in a check box :-
<input name='class[]' type='checkbox' class='checkbox' value='".$x_value['type1'].":".$x_value['type2']."'>
On running :-
<input name="class[]" type="checkbox" class="checkbox" value="2681:14175">
So what i want is how can i pass these value separated by ":" in a url.
Something like this :-
Purpose :-
Actually i am getting those value from API response with CURL and generating multiple checkboxes. Each checkbox contains two value separated with ":".
Now i want to run a separate API in different file which will get values from the URL.
Thanks in advance.
Sincerely
Aucun commentaire:
Enregistrer un commentaire