So I have a form for my register system. When the form submits and there\'s errors, (like \'Enter a username first!\' or \'You must provide a password!\') it successfully refres
Add this to the top of the form script:
ini_set('display_errors', 'On'); // sometimes it's needed when overridden to Off error_reporting(E_ALL);
So you can see what the error was when you submitted the form.