PHP serialization and MySQL
- January 11th, 2010
- By Mr. Nerd
- Write comment
Storing serialized PHP string variables in MySQL textfields might lead to errors. Adding an additional encoding layer (base64) to the process keep these errors from happening.
This post descibes the process and provides two functions for serialization and deserialization