[thelist] PHP: How to include a variable in DB text?

Mike Wernsing mwmail at cableone.net
Sat Jul 5 01:15:40 CDT 2003

Check out the serialize() and unserialize() functions:


You need to serialize() the data, *then* addslashes(), then insert into the
database. When you pull it out, stripslashes() then unserialize().

More information about the thelist mailing list