How can I count the amount of lines of an HTML code with PHP?

后端 未结 0 786
清酒与你
清酒与你 2020-12-09 01:58

I have some HTML generated by a WYSIWYG-editor (WordPress).
I\'d like to show a preview of this HTML, by only showing up to 3 lines of text (in HTML format).

相关标签:
回答
  • 消灭零回复
提交回复
热议问题