As you may have gathered from a previous post, I know next to nothing about PHP, so I have a very basic question:
How do I force an exit from PHP?
I have gone through a few books and come across the "die" and "exit" commands; however, they don't seem to be doing what I want.
What I'd like to do: if a condition is true, exit PHP execution and display the rest of the (HTML) page normally. I suppose I could create a big block for the case if the condition is not true; however, a quick exit from the PHP would be my preferred option. Presently, using the "die" or "exit" commands with a test condition that forces the error causes the entire webpage to display a blank page, not even the error message echoed BEFORE the "die" statement displays.