php - Decode JSON result stdClass Object() to a formatted HTML -
how 1 decode json html list, , able dumb 'div' or dom element, or missing something?
stdclass object ( [msc] => 26771010150 [number] => 2677410930 [status] => ok [msc_mcc] => 652 [imsi] => 652010151221139 [mcc] => 652 [operator_country] => botswana [msc_operator_name] => mascom wireless (pty) ltd. [msc_operator_country] => botswana [msc_mnc] => 01 [mnc] => 01 [id] => 928692391 [msc_location] => [operator_name] => mascom wireless (pty) ltd. )
wherever decoding json in php, instead of use
json_decode($json,true) it return associative array can use in html easily.
Comments
Post a Comment