Level 60
$html = "<html>. . .</html>";
<textarea>
<?= htmlspecialchars($html); ?>
</textarea>
1 like
If a file is uploaded that contains html code, it should be output editably in a text field. How can I do this?
$html = "<html>. . .</html>";
<textarea>
<?= htmlspecialchars($html); ?>
</textarea>
Please or to participate in this conversation.