Thank you for noticing my typo. The actual PHP code has both choices
with one commented out. When I constructed the message for the forum I
selected the wrong one - not the one I actually am using.
Neil Smith [MVP, Digital media] wrote:
At 00:46 05/01/2006, you wrote:
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 04 Jan 2006 16:45:54 -0800
From: Todd Cary <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Subject: CAnnot connect to a MySQL DB using a Class
No doubt I am over looking something very simple, nevertheless I am
baffled by not being able to connect to a MySQL DB.
// Error produced here!!
Surely you meant mysql_select_db($this->db); since that's what you
connected to ?
Cheers - Neil
2200 D Street Ext
Petaluma, CA 94952
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php