JSON TO PHP ARRAY CONVERSION EXAMPLE
<?php
$jsonString='
{
"host":"localhost",
"user":"root",
"password":"root",
"database":"accounts",
"mysqlport":3306
}
';
$arr=json_decode($jsonString,true);
print_r($arr);
/*
Array
(
[host] => localhost
[user] => root
[password] => root
[database] => accounts
[mysqlport] => 3306
)
*/
ALTERNATE TITLES