Mapel PAI

Form HTML Pada PHP | https://sdnserayuyogya.sch.id/

Form HTML Pada PHP

‘Laki Laki’, ‘P’ => ‘Perempuan’); foreach ($jenis_kelamin as $kode => $detail) { $checked = @$_POST[‘jenis_kelamin’] == $kode ? ‘ checked=”checked”‘ : ”; echo ‘‘; } ?>
‘ . $skill . ‘‘; } ?>
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 ‘
‘; }?>