Answers for "how to decode query string"

0

how to decode query string

// in jquery you can send object as a query string or via ajax 
$data = '{
	"name": "Aris",
	"Gender": "Male"
}';

//in php you can read query string via json_decode method
$new_data = json_decode($data);
Posted by: Guest on August-18-2021

Browse Popular Code Answers by Language