Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: tidy_get_output - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

tidy_get_release" width="11" height="7"/> <tidy_get_opt_doc
Last updated: Mon, 05 Feb 2007

view this page in

tidy_get_output

(PHP 5)

tidy_get_output — パースされた Tidy マークアップを表す文字列を返す

説明

string tidy_get_output ( tidy object )

tidy_get_output() は、修正された HTML を文字列で返します。

例 2368. tidy_get_output() の例

<?php

$html
= '<p>paragraph</i>';
$tidy = tidy_parse_string($html);

$tidy->CleanRepair();

echo
tidy_get_output($tidy);
?>

上の例の出力は以下となります。


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
</head>
<body>
<p>paragraph</p>
</body>
</html>

      



add a note add a note User Contributed Notes
tidy_get_output
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites