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

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -