RE: [PEAR] problem using Pear's DB layer
| From: | luis | Date: | Wed, 02 Apr 2003 18:16:00 +0000 |
| Subject: | RE: [PEAR] problem using Pear's DB layer | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4600@lists.php.net to get a copy of this message | ||
Add some print("foo"); statements to know where the script is dying my
guess
Is that Php can't find the DB.php class
-----Original Message-----
From: Tim [mailto:tfletcher@netfactoriel.com]
Sent: Wednesday, April 02, 2003 1:08 PM
To: Alan Richmond; pear-general@lists.php.net
Subject: RE: [PEAR] problem using Pear's DB layer
yep, sorry
i was playing around with the script to get it to work!
it should look like this:
$dsn = "mysql://$user:$pass@$host/$db_name";
but still the same problem :(
Thanks
t.
> -----Message d'origine-----
> De : Alan Richmond [mailto:alan@aardwolfweb.com]
> Envoyé : mercredi 2 avril 2003 18:03
> À : tfletcher@netfactoriel.com; pear-general@lists.php.net
> Objet : RE: [PEAR] problem using Pear's DB layer
>
>
> ] $db_name = 'spip_marcou';
> ] // Data Source Name: This is the universal connection string
> ] $dsn = "mysql://$user:$pass@$host";
> ] print($dsn);
>
>
> Tim,
> You're not passing in the $db_name.
>
> -Alan
>
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php