龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > php编程 >

PHP 的 tidy_parse_string() 函数使用方法2

时间:2014-07-22 14:52来源: 作者: 点击:
分享到:
<无详细内容>
<?php
     $tidy = tidy_parse_string("<B>This is a string</B>");
     $data = tidy_get_output($tidy);

     echo $tidy;
?>

2. [代码]输出结果(感谢liuxiuxiu)     跳至 [1] [2] [全屏预览]

<html>
<head>
<title></title>
</head>
<body>
<b>This is a string</b>
</body>
</html>
精彩图集

赞助商链接