how this should be i get error 500, i think the line to be modified is this
and the code
Thx in advance
if (mysqli_errno() == 1062)and the code
if (!$res) {
if (mysqli_errno() == 1062)
show_error_msg("Error", "It appears you tried to send your application twice.");
else
show_error_msg("Error", "It appears something went wrong while sending your application. Please <a href=uploadapp.php>try again</a>.");
} else
show_error_msg("Application sent", "Your application has succesfully been sent to the staff.");Thx in advance