dmccabe Posted June 19, 2008 Share Posted June 19, 2008 Is there a way to terminate a script? So when it reaches a certain point it stops there, regardless of if there is more after it or not? Link to comment https://forums.phpfreaks.com/topic/110891-solved-terminating-a-script/ Share on other sites More sharing options...
0perator Posted June 19, 2008 Share Posted June 19, 2008 die("your message"); Link to comment https://forums.phpfreaks.com/topic/110891-solved-terminating-a-script/#findComment-568906 Share on other sites More sharing options...
bluejay002 Posted June 19, 2008 Share Posted June 19, 2008 exit(); Link to comment https://forums.phpfreaks.com/topic/110891-solved-terminating-a-script/#findComment-568909 Share on other sites More sharing options...
dmccabe Posted June 19, 2008 Author Share Posted June 19, 2008 exit(); Job done thank you! Link to comment https://forums.phpfreaks.com/topic/110891-solved-terminating-a-script/#findComment-568914 Share on other sites More sharing options...
bluejay002 Posted June 19, 2008 Share Posted June 19, 2008 welcome... enjoy programming! Link to comment https://forums.phpfreaks.com/topic/110891-solved-terminating-a-script/#findComment-568957 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.