textarea提交上来的表单空格被去掉了,用什么函数解决?

回车用nl2br,空格呢??
---------------------------------------------------------------

stripslashes
(PHP 3, PHP 4 )

stripslashes -- Un-quote string quoted with addslashes()
Description
string stripslashes ( string str)

Returns a string with backslashes stripped off. (' becomes ' and so on.) Double backslashes are made into a single backslash.

See also addslashes().

来自PHP手册.
---------------------------------------------------------------

中文解释可以去http://www.hooday.com看。

Published At
Categories with Web编程
Tagged with
comments powered by Disqus