In a php script I have some test and after the script the html page.
When a test fail i call die("Test 1 failed"); If no test fail the php script reach the end ?> and then load the html code after the php script.
Is this a good procedure? Or I need to write die() or exit() before the end of php script?