How do you stored a php serialized array in mysql with values that contain apostrophes?

Posted by Yegor on Stack Overflow See other posts from Stack Overflow or by Yegor
Published on 2010-05-29T01:37:44Z Indexed on 2010/05/29 1:42 UTC
Read the original article Hit count: 288

Filed under:
|
|

I have a listing of names, that I want to store in mysql as a serialized array (for caching purposes). Some names contain apostrophes, and for some reason won't un-serliaze properly. There is no output.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql