随笔 - 78  文章 - 1  评论 - 126  阅读 - 19万
10 2012 档案
php里的html内容切取
摘要:HTMl内容的切取,找了很多都不行或有乱码,然后我组合了一个。 1 /** 2 * Truncates text. 3 * 4 * Cuts a string to the length of $length and replaces the last characters 5 * with the ending if the text is longer than length. 6 * 7 * @param string $text String to truncate. 8 * @param integer $le... 阅读全文
posted @ 2012-10-12 15:33 myx 阅读(1452) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示