[{"desc": "1111", "Imgurl": "./data/attachments/20140422/5355e745ae166.jpg"},{"desc": "333333", "Imgurl": "./data/ Attachments/20140422/5355e745c8a40.jpg "},{" desc ":" u306e333 "," Imgurl ":"./data/attachments/201
The data is first json_encode into the database but taken out of the database Json_decode returns null
Later try to use Serialize to save the data to the database from the database unserialize return bool (FALSE)
In the database or out of the database is in the same file operation should not have the problem of coding, please ask what may be the reason
Reply to discussion (solution)
String not complete, less "]}
[ { "desc": "1111", "Imgurl": "./data/attachments/20140422/5355e745ae166.jpg" }, { "desc ":" 333333 "," Imgurl ":"./data/attachments/20140422/5355e745c8a40.jpg " }, { " desc ":" u306e333 ", "Imgurl": "./data/attachments/201" }]
And there's your database, the length of the word is not enough
Is the hand or did it be truncated?
Post data taken from a database
Paste the properties of a field stored in JSON data? Whether the field is truncated.
The database field is set too short for truncation, thank you for your kind help