keeping single-quotes in http_build_query()?
- by user151841
I'm wanting to use http_build_query to change an array to html tag properties. Problem is, it's changing my single-quoted values into %27. So if I have
http_build_query( array("type"=>"'hidden'", ... ), '', ' ' );
I get
<input type=%27hidden%27 ...>
How can I get around this?