Re: passing mysql_error() out put to a different page?
| From: | Brad Bonkoski | Date: | Tue, 15 Oct 2002 01:06:51 +0000 |
| Subject: | Re: passing mysql_error() out put to a different page? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119972@lists.php.net to get a copy of this message | ||
Very interesting question....
The only thing I can come up with right now is if you detect an error
(one of the functions returning FALSE,)
you can write the contents of mysql_error() to a file log and display that
file on another page? Or pass the output of that (mysql_error()) as an
HTTP/form variable to another page?
...spark any additional ideas??
-Brad
Peter Houchin wrote:
> howdy,
>
> I have a page that I want to control the errors etc for a site, now what I
> want is to perform a query on one page but if there's an error it opens a
> different page with the error message on it including the out put from
> mysql_error() can this be done?
>
> Cheers
>
> Peter
> "the only dumb question is the one that wasn't asked"
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php