You are here: Re: Problem When Serializing Array With Multiline Text « PHP Programming Language « IT news, forums, messages
Re: Problem When Serializing Array With Multiline Text

Posted by Mike P2 on 04/30/07 22:47

Do you use the relevant real_escape_string() function on the
serialized data before inserting into the database? It does escape
newlines, which I have never seen being a problem anyway, but it is
good practice nonetheless. If you are just using addslashes(), it's
not escaping newlines.

-Mike PII

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация