Scott,

        The resource IDs are integer identifiers PHP uses to identify the different
queries being done on the system.  However if you want to actually extract
the information from those queries you need to use either the
mysql_fetch_row() or mysql_fetch_array queries.

Oh and on another note a separate function/class isn't really all that
necessary to query a table in another database...based on the code you
provided.

$q = mysql_query("SELECT id FROM $db.words WHERE word = '$word'");

would work just as easily if not faster and using less resources =)

Sincerely,

Craig Vincent


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to