Hi,
this happend because "exit" is there, if someone enters duplicate value it is on exit, and that is the reason why there is empty page.
You can add specific message before exit, like:
echo "Value is duplicated, please add another value";
exit;
or if you want to redirect it on specific page if value is duplicate then:
header("Location: https://crosstec.org/en/");
exit;
Please test it and then let me know the result
Regards,
Tihana