while ($tablica[$i]!=0)
<html> <center> <table> <tr> <td width="200px" height="150px"> </td> </tr> </table bgcolor="yellow"> <form action="chat_form.php" method="post"> Imie:<input type="text" name="imie"><br> Tresc:<input type="textarea" name="tresc"><br> <input type="submit" value="wyslij"> </form> </center> </html> <?php @while ($tablica[$i]!=0) { $i++; } $i--; $w=$i-5; while $w<$i { $w++ } ?> <? $imie=$_POST['imie']; $tresc=$_POST['tresc']; { $dozapisu='<font color="red">'.$imie.':</font><font color="blue">'.$tresc.'</font><br> ^'; } ?>