Re: About mysql_connect()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All

It works.Thank you all, for the support.

Cheers

Prabath


--- Stut <stuttle@xxxxxxxxx> wrote:

> On 6 Feb 2008, at 14:45, js wrote:
> > Use PDO and try/catch.
> > I think it's much easier.
> 
> Easier than checking the return value for FALSE?
> 
> OP: The manual is your friend, it tells you exactly
> how to detect  
> failures from any function.
> http://php.net/mysql_connect
> 
> -Stut
> 
> -- 
> http://stut.net/
> 
> > On Feb 6, 2008 7:07 PM, Prabath Kumarasinghe
> <prabath321@xxxxxxxxx>  
> > wrote:
> >> Hi All
> >>
> >> When I stop mysql database whole application will
> >> break in mysql_connect() function even without
> giving
> >> any error message.Is there are any way to put
> >> exception handling with mysql_connect() function.
> >>
> >> Cheers
> >>
> >> Prabath
> >>
> >>
> >>
> >>
> >>       
> >>
>
____________________________________________________________________________________
> >> Looking for last minute shopping deals?
> >> Find them fast with Yahoo! Search. 
>
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> >>
> >> --
> >> PHP Database Mailing List (http://www.php.net/)
> >> To unsubscribe, visit:
> http://www.php.net/unsub.php
> >>
> >>
> >
> > -- 
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> >
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux