RE: [PEAR] problem using Pear's DB layer

From: Date: Wed, 02 Apr 2003 16:07:52 +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-4596@lists.php.net to get a copy of this message
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 >

« previous php.pear.general (#4596) next »