A php die function question. when I use die(), it clean all page elements. Is any way to echo error message and not clean all page, It looks like jump to another page when I use
You should read your script for top to bottom, including anything outside of . When using die() your script stops then and there.
die()
Never here
Would output
something
In your case do
SIGN UP
Also note that I'm using '==' to compare, not '='.