我正在使用 textarea 使用 php 将数据添加到 mysql 数据库,并在将文本插入数据库之前使用 nl2br 格式化我的文本,当涉及到以格式输出的数据时,挑战就来了
Introduction<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
Open Source's Proponents Often Claim That It Offers Significant Benefits When Compared To Typical Commercial Products. Commercial Products Typically Favour Visible Features (giving Marketing Advantage) Over Harder-to Measure Qualities Such As Stability, Security And Similar Less Glamorous Attributes. As A Shorthand, We Shall Describe This Phenomenon As Quality Vs Features.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
我怎样才能删除<br />
si 已使用的strip_replace
,nl2br
但它都失败了。我真诚地需要帮助,谢谢