php - http_build_query not giving valid string -


    $requestparams = [ 'aame_uuid' => 'aba627', 'currency' => 'test'];     ksort($requestparams);     $hashstring = http_build_query($requestparams);      var_dump( $hashstring);  

gives

string(30) "aame_uuid=aba627¤cy=test"

so why currency transformed ¤cy , how can correct ?

i think problem &curren html code. http://character-code.com/currency-html-codes.php &curren gets replaced char.

maybe should add specific seperator & http_build_query make sure replaced foo.php?aaaa_uid=aba627&currency=test


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -