Form HTML Pada PHP | https://sdnserayuyogya.sch.id/
Form HTML Pada PHP
Hasil Input‘;
echo ‘
‘;
echo ‘- Nama: ‘ . $_POST[‘nama’] . ‘
‘;
echo ‘- Email: ‘ . $_POST[‘email’] . ‘
‘;
echo ‘- Lokasi: ‘ . $_POST[‘area’] . ‘
‘;
echo ‘- Jenis Kelamin: ‘ . (isset($_POST[‘jenis_kelamin’]) ? $jenis_kelamin[$_POST[‘jenis_kelamin’]] : ‘-‘) . ‘
‘;
$list_skill = array();
foreach ($program as $skill) {
if ( isset($_POST[‘skill_’ . $skill]) )
{
$list_skill[] = $skill;
}
}
echo ‘- Skill: ‘ . ($list_skill ? join($list_skill, ‘, ‘) : ‘-‘) . ‘
‘;
echo ‘
‘;
}?>