/ Published in: PHP
In a Project i had to save serialized arrays in a MYSQL Database, when i used that i got a Error Message for no reason (Error at offset XX of XX bytes in...). I wrote this little functions to fix that issue. (I dont recommend to save serialized Arrays in Databases )
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function save_serialize($ARR) { } function save_unserialize($STR) { }