¿Qué formato es este?

This is simple, but I don't know what to search to find my answer. Can someone please tell me in what format this data was inserted in the table ?

I want to read/insert/update it using PHP.

image http://img841.imageshack.us/img841/4835/screenshot2011110813502.png

Aquí está el texto:


preguntado el 08 de noviembre de 11 a las 11:11

3 Respuestas

This is an serialized array, you can unserializar it to convert it back to the array type, and then serializar it back to string.

There is obviously a lot of debate on this being json or serialized data, but the length indicators for the upcoming string next to : clearly indicate a serialization.

$aArray = unserialize($sContents);
$sContents = serialize($aArray);

respondido 08 nov., 11:16

Yeah, it didn't look like json. I learned something new today. Thank you! - Mihai Chiriac

It's a serialized array you can deserialize it with http://www.php.net/manual/de/function.unserialize.php

respondido 08 nov., 11:16

respondido 08 nov., 11:16

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.