karthikeyan_coder Posted April 19, 2006 Share Posted April 19, 2006 i have a script with thousands of lines. if one condition was met then it should point the end of the script lines. means... after metting the condition php will execute the codings like include('footer.php'); is it possible??? Quote Link to comment Share on other sites More sharing options...
poirot Posted April 19, 2006 Share Posted April 19, 2006 Well, instead of doing this, you can abort script execution:[code]if (condition) { include 'footer.php'; die();}[/code] Quote Link to comment Share on other sites More sharing options...
karthikeyan_coder Posted April 19, 2006 Author Share Posted April 19, 2006 Ahh Smart Idea. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.