Passing string in url with space |
HI , sorry for english , i must send 3 value from get , the first is a url , to have a work value i encode whit :
Code: <a href="<?=base_url()?>index.php/ranking/match/<?=base64_encode($v->anchor) ?>/<?= $v->team_home ?>/<?= $v->team_away ?>" class="btnbtn-success">MATCH</a> In my controller i do a query with the two team but if the team's name have space inside i have error . I try to encode team to but i have the equal simbol ( = ) at the end and i have "the uri you submitted has disallowed characters in " error. How can i solve it ? |
Messages In This Thread |
Passing string in url with space - by pippuccio76 - 12-23-2018, 07:54 AM
RE: Passing string in url with space - by InsiteFX - 12-23-2018, 10:42 AM
RE: Passing string in url with space - by pippuccio76 - 12-23-2018, 11:33 AM
RE: Passing string in url with space - by jreklund - 12-23-2018, 02:39 PM
|