Tuesday 9 May 2017

Unserialize array from database with javascript

hey i have a serialize array from database like this

a:3:{i:0;s:2:"12";i:1;s:2:"13";i:2;s:2:"14";}

all i want to parse that array with javascript. i have doing JSON.parse() but still not working , can you help me? if in PHP there's unserialize($var) is there possible unsrialize(var) in javascript ? by the way i use nodejs express.



via Abdan Syakuro

No comments:

Post a Comment