Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $imie=$_POST['imie'];
- $nazw=$_POST['nazw'];
- $mail=$_POST['mail'];
- $wiek=$_POST['wiek'];
- $plec=$_POST['plec'];
- $kolor=$_POST['kolor'];
- if($_POST){
- if($_GET){
- echo "<".$_GET['format'].">";
- }
- if($imie && $nazw && $mail && $wiek && $plec && $kolor){
- echo 'Imie ' .$imie. '<br>';
- echo 'Nazwisko ' .$nazw. '<br>';
- echo 'Mail ' .$mail. '<br>';
- echo 'Wiek ' .$wiek. '<br>';
- echo 'Plec ' .$plec. '<br>';
- echo 'Kolor ' .$kolor. '<br>';
- }else{
- echo 'Wypelnij formularz';
- }
- if($_GET) {
- echo "</" .$_GET['format'].">";
- }
- }
- ?>
- <a href = "index.html"> Strona glowna </a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement