I have issue with putting serialized array containing “‘” into database. This is how to fix it:
//to safely serialize
$safe_string_to_store = base64_encode(serialize($multidimensional_array));
$array_restored_from_db = unserialize(base64_decode($encoded_serialized_string));
Hi thanks for dropping by. Please share the content if you think there is someone who will appreciate it.