<?php function readText($a) { $zmienna .= "rtf/" . $a . ".txt"; if ($plik === false) { } else { } } return $text; $zmienna = ""; } ?> <div id="edytor"> <div id="belka"> </div> <div id="text"> <textarea lang="HTML"> <?php $text_wyjscie = readText(tmp); ?> </textarea> </div> <div id="przyciski"> </div> </div>
zawartość tmp.txt :
<font color="red"> test </font><br /> <br />
Jak zrobić, żeby w polu textarea pojawiał się tekst po przetworzeniu czyli tekst czerwony "test" a nie "<font color="red"> test </font><br /> <br />"


