When I send a $_GET
of my application I have the following expression tipo%5B%5D=CASA
in my url . The data comes from an HTML element of type checkbox of name="tipo[]"
.
These characters simply represent [
and ]
.
Does anyone know why this is happening and how to solve this?
<input type="checkbox" name="tipo[]" value="APARTAMENTO/APTO DUPLEX" id="tp1">
<label for="tp1">Apartamento</label>
<input type="checkbox" name="tipo[]" value="CASA" id="tp2">
<label for="tp2">Casa</label>
<input type="checkbox" name="tipo[]" value="CASA EM CONDOMINIO" id="tp3">
<label for="tp3">Casa Condomínio</label>