别样 2006-5-14 13:57
textarea提交上来的表单空格被去掉了,用什么函数解决?
回车用nl2br,空格呢??
悠着点 2006-5-14 13:58
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手册.
tbp 2006-5-14 13:58
中文解释可以去[url]http://www.hooday.com[/url]看。