Categories
Simple_html_dom removes all line breaks, how to treat?
$html->load_file(" simplehtmldom.sourceforge.net "); echo $html->save('data2.html'); Removes all line breaks, how can I fix it?
Answer the question
In order to leave comments, you need to log in
require 'simple_html_dom.php'; $html = file_get_html('http://simplehtmldom.sourceforge.net/', false, null, -1, -1, true, true, DEFAULT_TARGET_CHARSET, false); echo $html->save('result.htm');
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question