Re: Re: Question: Passing error messages
| From: | Stuart Felenstein | Date: | Sat, 06 Nov 2004 18:06:01 +0000 |
| Subject: | Re: Re: Question: Passing error messages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201370@lists.php.net to get a copy of this message | ||
--- Daniel Schierbeck <dasch@ulmail.net> wrote:
> I'm not quite getting what you're saying - are you
> sending the error
> messages on to a new page?! The usual and simple way
> of doing this is
> the good 'ol OR operator:
>
I'm saying, currently if there is an error and the
script needs to exit, I'm doing this :
if ..error {
$_SESSION['ErMsg'] = "Submit Failure";
header (location: ........)
exit;
}
I want to know what alternatives there are to error
messages aside from using a session variable.
Thank you ,
Stuart