Hi there. I want to save a variable (its structure and data) in MySQL.

I know the function "serialize(mixed value)", wich generates a storable
representation of a value. This storable representation has characters like
"{" and ":" (when talking about arrays). So, how can I store this in MySQL?
Wich type of field do I have to create in de DB? I tried the "longtext"
type, but it doesn't work. Any help? Thanks.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to