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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/74299-solved-stop-proccessing-code/#findComment-375367 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.