User Contributed Notes die |
 |
lee200082 at hotmail dot com
08-Jul-2002 03:41 |
|
void die(string msg)
Calling this function halts the scripts
execution and outputs msg to screen.
This is as near as I can tell
what this function does. I just thought I'd post this becaus there was no
official description.
|
|
xagent_ at hotmail dot com
04-Sep-2002 12:22 |
|
Note that using the die() function will stop the entire script after that
point from being run, so if you issue the die function within a open HTML
tag, the HTML tag will remain open, which can seriously effect the browsers
output to the user, expecially if its used inside an open <TABLE>
tag.
|
|
stephane-wantiez at tiscalinet dot be
11-Sep-2002 04:35 |
|
So when you use die() after an open <html> tag, don't forget to use
die like this : die("blabla\n\n</body>\n\n</html>") ;
This will close the body and html tags.
|
|
 |