Re: Re: HTTP Error 500 - IsapiModule
| From: | Jim Lucas | Date: | Fri, 19 Dec 2008 16:48:16 +0000 |
| Subject: | Re: Re: HTTP Error 500 - IsapiModule | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284840@lists.php.net to get a copy of this message | ||
Gary Maddock-Greene wrote:
> Yes .. thanks Stuart. If I comment out that line I now get a different
> problem!!
>
> Unable to connect to database.
>
> One step closer!!!
>
>
Well, now take and place a simple or die(mysql_error()); after your mysql_connect() call
$rh = mysql_connect() or die(mysql_error());
Mind you that the above is not recommended in production code.
But, it works for trying to figure out this type of problem.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare