I want to send multiple checkbox data using | delimiter in CodeIgniter form
In my form, I use the checkbox to select multiple data:
<form method="get" action="<?PHP echo base_url();?>search">
<input type="checkbox" name="cats" value="1234">Sylhet
<input type="checkbox" name="cats" value="1235">Dhaka
<button>Search Now</button>
</form>
now it sends like: search?cats=1234&cats=1235
but I want it to send like search?cats=1234|1235