<?php echo "<table><form method=\"post\"> <tr> <td>Imie:</td> <td><input type=\"text\" name=\"imie\" style=\"width: 150px; border: 1px solid #000; color: #000\"></td> </tr> <tr> <td>Nazwisko:</td> <td><input type=\"text\" name=\"nazwisko\" style=\"width: 150px; border: 1px solid #000; color: #000\"></td> </tr> <tr> <td> </td> <td><input type=\"submit\" name=\"submit\" value=\"wyślij\"> </tr> </table>"; } $message = "Treść wiadomości:\n$_POST[tresc]\nWysłał: $_POST[imie]\ne-mail: $_POST[nazwisko]"; $header = "From: $_POST[imie] <$_POST[nazwisko]>"; } ?>