note 90911 added to function.json-decode
| From: | anom at example dot com | Date: | Sat, 16 May 2009 01:10:13 +0000 |
| Subject: | note 90911 added to function.json-decode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-154649@lists.php.net to get a copy of this message | ||
i read a few posts and they say
i should use utf8_decode() with php
$data = json_decode() works ok
but when i tried the same code in my main index file
it wouldnt work it only seems to work in a other file
both files are php files i have no idea why it returns data on one page and not on the other
currently i am using a iframe to show the data inside my page
anyone had this problem?
----
Server IP: 87.124.35.190
Probable Submitter: 149.254.219.46
----
Manual Page -- http://www.php.net/manual/en/function.json-decode.php
Edit -- https://master.php.net/note/edit/90911
Del: integrated -- https://master.php.net/note/delete/90911/integrated
Del: useless -- https://master.php.net/note/delete/90911/useless
Del: bad code -- https://master.php.net/note/delete/90911/bad+code
Del: spam -- https://master.php.net/note/delete/90911/spam
Del: non-english -- https://master.php.net/note/delete/90911/non-english
Del: in docs -- https://master.php.net/note/delete/90911/in+docs
Del: other reasons-- https://master.php.net/note/delete/90911
Reject -- https://master.php.net/note/reject/90911
Search -- https://master.php.net/manage/user-notes.php