Thanks John.
> -Original Message-
> From: John Holmes [mailto:[EMAIL PROTECTED]]
> Sent: 03 May 2002 16:29
> To: [EMAIL PROTECTED]; 'PHP'
> Subject: RE: [PHP] Re: PHP with MySQL
>
>
> There's a whole section in the manual on it. There is a log_e
To: PHP
> Subject: RE: [PHP] Re: PHP with MySQL
>
> Oh, i agree entirely.
>
> Ok, i'll look into the logging/mailing solution - something i've been
> doing
> in ASP for years but am new to in PHP.
>
> Cheers,
>
> .b
>
> > -Original Mess
PROTECTED]'; PHP
> Subject: RE: [PHP] Re: PHP with MySQL
>
>
> Hi Ben,
>
> > John, presumably I can leave the error reporting on -
> > but pipe it into a file if i wanted, rather than
> > displaying on screen, and then redirect the user to
> > another pag
Hi Ben,
> John, presumably I can leave the error reporting on -
> but pipe it into a file if i wanted, rather than
> displaying on screen, and then redirect the user to
> another page?
Of course you can - I generally have my pages send me email when they throw
an error, but that's because I'm
> -Original Message-
> From: Jon Haworth [mailto:[EMAIL PROTECTED]]
> Sent: 03 May 2002 11:34
> To: '[EMAIL PROTECTED]'; PHP
> Subject: RE: [PHP] Re: PHP with MySQL
>
>
> Hi .ben,
>
> > Just out of interest, what's the standard/best/tried
>
Hi .ben,
> Just out of interest, what's the standard/best/tried
> &tested method for handling errors in relation to
> connecting to DB's? i.e. how to check that the
> connection was a success, and if not then display why.
Something like...
$dbh = mysql_connect ("foo", "bar", "baz")
or die
Just out of interest, what's the standard/best/tried&tested method for
handling errors in relation to connecting to DB's? i.e. how to check that
the connection was a success, and if not then display why.
any pointers appreciated.
.b
> -Original Message-
> From: Mike Eheler [mailto:[EM
7 matches
Mail list logo