Jonathan, most (all?) of the database query-related functions in PHP return a "Resource ID" which contains the data resulting from your query. To access that information, you need to pass the Resource ID thru a function like (assuming u r using MySQL) mysql_fetch_array() or mysql_fetch_row()
Have a look at those 2 (or their equivalents for different DBs) in the manual and go from there :) HTH Beau // -----Original Message----- // From: Jonathan [mailto:[EMAIL PROTECTED]] // Sent: Friday, 12 July 2002 9:18 AM // To: [EMAIL PROTECTED] // Subject: [PHP-DB] "resource ID #3" // // // I am a newbie to php (as i have announced several times on // this bulletin // board =) so I thank you all for your help. // // Mi problemo: // // I have a database of events going on at local colleges. The // names of the // tables are the abbreviated names of the colleges. I grab // those with a 'SHOW // TABLES' command to the mysql que. Then, I have a second // database which // matches each abbreviation with the proper name. When I try // to run any query // on the second database, the only output I recieve is // "resource id #3" Any // suggestions? // // Jonathan // // // // -- // 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