Need to Translate %3D to = in Search URL

Okay programmers, I need a little help with a simple HTML/PHP search form…

<form method="search" action="http://leveltwogames.tcgplayerpro.com/search">
<input type="search" name="prd=" placeholder="Search our trading cards&hellip;" value="<?php echo get_search_query(); ?>" />
<input type="hidden" name="" value="" />
</form>

It outputs the URL, “http://leveltwogames.tcgplayerpro.com/search?prd%3D=” when it should output, “http://leveltwogames.tcgplayerpro.com/search?prd=” to perform the correct search. I cannot figure out how to get it to stop outputting the extra “%3D”. It happens to be HTML for “=”.

Any help is appreciated. Thanks.

I fixed it on my own. I simply dropped the “=” and it worked out.

Sponsor our Newsletter | Privacy Policy | Terms of Service