Imtehbegginer Posted April 27, 2008 Share Posted April 27, 2008 Hey, I dont have a sample of code handy... but. Say im designing a register page, and if the passwords dont match, ill use die('Passwords are wrong'); but that means the error shows up, but what is supposed to be below it is gone.. Instead of using the die() command, how can i end the script without is cutting off half the page? Quote Link to comment Share on other sites More sharing options...
trq Posted April 27, 2008 Share Posted April 27, 2008 You can't, if you end a script you end the script. Make sense? If you want the script to display a message but carry on simply use echo. 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.