Unserialize with javascript
Posted: Tue Oct 30, 2007 3:48 am
I have a serialized array stored in a database as a type BLOB and I am trying to pull this out via ajax and use javascript to unserialize it. The problem is that I can't seam to unserialize it at all. I found this method:
http://www.phpguru.org/static/PHP_Unserialize.html
But that is not working. If I alert(); what it is doing as it does it, all goes well for a second then it returns a null value and breaks everything. Does anyone know of one that is better that will actually work?
http://www.phpguru.org/static/PHP_Unserialize.html
But that is not working. If I alert(); what it is doing as it does it, all goes well for a second then it returns a null value and breaks everything. Does anyone know of one that is better that will actually work?