How to pass jsondata in URL in php, I searched and tried using http_build_query() it is passing like this
    http://abcd/xyz?id=12&name=mansfh
but I want URL to be like this
    http://abcd/xyz?jsondata={"id":"12","name":"mansfh"} 
Please, someone, help me
 
     
     
    