<?php
if ((isset($_POST['nome'])) && (isset($_POST['qtde']))) { if ((!empty($_POST['nome'])) && (!empty($_POST['qtde']))) { $nome = $_POST['nome'];
$qtde = $_POST['qtde'];
echo "Aviso ao representate $nome <br/>
A equipe com $qtde alunos foi aceita!";
} else
echo "Preencha os campos";
} else
echo "O campo [nome] nao existe na variavel $_POST";
} else
echo "não houve submit";
PD9waHAKCmlmIChjb3VudCgkX1BPU1QpID4gMCkgewogICBlY2hvIGNvdW50KCRfUE9TVCkgOwogICBpZiAoKGlzc2V0KCRfUE9TVFsnbm9tZSddKSkgJiYgKGlzc2V0KCRfUE9TVFsncXRkZSddKSkpIHsKICAgICAgaWYgKCghZW1wdHkoJF9QT1NUWydub21lJ10pKSAmJiAoIWVtcHR5KCRfUE9TVFsncXRkZSddKSkpIHsKICAgICAgICAgJG5vbWUgPSAkX1BPU1RbJ25vbWUnXTsKICAgICAgICAgJHF0ZGUgPSAkX1BPU1RbJ3F0ZGUnXTsKICAgICAgICAgZWNobyAiQXZpc28gYW8gcmVwcmVzZW50YXRlICRub21lIDxici8+CiAgICAgICAgIEEgZXF1aXBlIGNvbSAkcXRkZSBhbHVub3MgZm9pIGFjZWl0YSEiOwogICAgICB9IGVsc2UKICAgICAgICAgZWNobyAiUHJlZW5jaGEgb3MgY2FtcG9zIjsKICAgfSBlbHNlCiAgICAgIGVjaG8gIk8gY2FtcG8gW25vbWVdIG5hbyBleGlzdGUgbmEgdmFyaWF2ZWwgJF9QT1NUIjsKfSBlbHNlCiAgIGVjaG8gIm7Do28gaG91dmUgc3VibWl0IjsKCg==