Ingus Graholskis Ingus Graholskis - 1 year ago 85
HTML Question

& changes to %26 and = to %3D

I have a form that returns link on filter

<div class="item" style="float:right">
<form class="ui icon input" name="search" action="" method="GET">
<input type="hidden" name="view" value="&user_id=156">
<input type="search" name="filter" style="width:10em;" placeholder="Filter..">
<i class="filter icon"></i>

But it turns

I tried encode but it did not worked!
Please help

Tried :

$query_string = 'objects&user_id=156';
$a = urldecode($query_string);

Answer Source
    $query_string = 'objects%26user_id%3D156';
    $a = urldecode($query_string);

remove var_dump after test

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download