soo many things wrong here.... (no offence).
"INSERT INTO recruitment
(ID, nama, jenis_kelamin, tanggal_lahir, nohp, email, alamat, provinsi, kota, zip, status_nikah, jumlah_tanggungan, agama, file_attachment, cover_letter)
VALUES (NULL, '$nama', '$jenis_kelamin', '$tanggal_lahir', '$nohp', '$email', '$alamat', '$provinsi', '$kota', '$zip', '$status_nikah','$jumlah_tanggungan','$agama','$file_attachment', '$cover_letter');";
This is full of mysql injection possibilities....
$simpan = mysqli_query($connect, $query);
This is returning false, but you cannot know why unless you check for the error:
$simpan = mysqli_query($connect, $query) or die(mysqli_error($connect));
That should show you the error, probably a non existing or misnamed field.
If you're going to be using plain mysqli_query, you should really validate / cleanup and escape your variables.