2、PHP简单的数据过滤
1)入库: trim($str),addslashes($str)2)出库: stripslashes($str)3)显示: htmlspecialchars(nl2br($str))