What causes this error in my code?
$query = $this->db->query(\"SELECT * FROM tour_foreign ORDER BY id desc\"); $data = array(); foreach ($q
here is the solution for similar problem which i was facing while extracting name from user profile facebook json object
$uname=json_encode($userprof); $uname=json_decode($uname); echo "Welcome " . $uname -> name ;