I have a string like:
{"Url":"http://localhost","DBName":"John_db","DBUser":"admin","Pass":"a"}
Now using this string I want URL, DBname, DBuser and pass them to separate variables like:
$DBName = 'John_db';
$DBUser = 'admin';
$Url = 'http://localhost';
$Pass = 'a';
I am new to PHP, and can't find any solution to achieve this, can anybody help me in this?