D
D
deniska_kuzmenko2015-10-11 15:15:53
PHP
deniska_kuzmenko, 2015-10-11 15:15:53

How to output html to string?

For example, there is a code in the html file:

<p> заголовок </p>
     <a href="#"> ссылка</a>

<div class="class">
     <span></span>
</div>

etc.
How to output the entire html code to a string, so that it would look like this:
<p> заголовок </p><a href="#"> ссылка</a><div class="class"><span></span></div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2015-10-11
@deniska_kuzmenko

stackoverflow.com/questions/1991198/remove-newline...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question