emediastudios Posted October 22, 2007 Share Posted October 22, 2007 Can i have my code stopped in its tracks and print an error and not continue reading the code if something is invalid? Link to comment https://forums.phpfreaks.com/topic/74299-solved-stop-proccessing-code/ Share on other sites More sharing options...
Orio Posted October 22, 2007 Share Posted October 22, 2007 You can use die() or exit() (In this case it doesn't matter): die("Error!"); Orio. Link to comment https://forums.phpfreaks.com/topic/74299-solved-stop-proccessing-code/#findComment-375367 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.