Is there a way to use the die() function to stop executing PHP statements on a page included on another page, but continue the execution of PHP statements on the page on which the file containing the die() function was included?
Is there a way to use the die() function to stop executing PHP statements
Share
use
return;in your included file. It will stop this include execution. It works like a function. Also you can return a value from your included file