abid786 Posted May 21, 2008 Share Posted May 21, 2008 Is there a way to tell the server to stop executing PHP code? If I use "die" then the html following the php also drops. Link to comment https://forums.phpfreaks.com/topic/106689-solved-exit-function/ Share on other sites More sharing options...
marcusfaye87 Posted May 21, 2008 Share Posted May 21, 2008 "break;" ? Link to comment https://forums.phpfreaks.com/topic/106689-solved-exit-function/#findComment-546914 Share on other sites More sharing options...
abid786 Posted May 21, 2008 Author Share Posted May 21, 2008 Thanks for the quick reply! I accomplished the same thing using if (), though Thanks anyway! Link to comment https://forums.phpfreaks.com/topic/106689-solved-exit-function/#findComment-546915 Share on other sites More sharing options...
marcusfaye87 Posted May 21, 2008 Share Posted May 21, 2008 Well that is the usual way to go if you want to only run code when it meets specific conditions. after all, that's what they're for Link to comment https://forums.phpfreaks.com/topic/106689-solved-exit-function/#findComment-546916 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.