Monday, March 6, 2017

php json decode array of objects in laravel

how to extract only 15 from [{"1":"15"}] in laravel controller ??? $var=array();$mku=$mark->examMark;$var[]=json_decode($mku, true); I have tried using the above code but it doesn't work.



via Cliffs

Advertisement