Re: Problem with db of pear
| From: | Marcelo Araujo | Date: | Fri, 02 Nov 2007 11:34:56 +0000 |
| Subject: | Re: Problem with db of pear | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48393@lists.php.net to get a copy of this message | ||
Hello Danilo,
By the way, DB is deprecated. I strongly recommend you to use MDB2, although
DB is stable.
Regards,
Marcelo
On Nov 2, 2007 8:08 AM, Igor Feghali <igor.feghali@gmail.com> wrote:
> did you included DB.php in you PHP script ?
>
> On 11/2/07, Danilo <incredible82@gmail.com> wrote:
> > i have install packgae db of pear
> > http://pear.php.net/package/DB
> > After downlad, upload into my web space.
> > But in file php pear are not know:
> > $dsn = "$dbms://$user:$pass@$host/$db_name";
> > $db = DB::Connect($dsn,true);
> > if( DB::isError($db) ) {
> > die($db->getMessage());
> > echo 'errore';
> > exit;
> > }
> >
> > Crash in the row $db = DB::Connect($dsn,true);
> > Why?Which can are the problems?if possible of permise?
> > Thanks
> >
> > --
> > PEAR Development Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>