php - convert a string into array and get values from that array -
i stored array {"10":"10","14":"14","16":"16","25":"25"}
string in data base, right tried number above string. tried explode , str_replace can't data, can please me.
this json object have decode json_decode , take values array_values:
$values = array_values(json_decode($string, true));
Comments
Post a Comment