On Fri, Dec 19, 2008 at 11:48 AM, Jim Lucas <li...@cmsws.com> wrote:

> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Assuming you are using some flavor of IE, ensure the Always Show Friendly
Errors Messages is unchecked the browser's Tools > internet options >
advanced tab


-- 

Bastien

Cat, the other other white meat

Reply via email to