Resource ID
| From: | Scott Mebberson | Date: | Tue, 28 Aug 2001 05:06:14 +0000 |
| Subject: | Resource ID | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11872@lists.php.net to get a copy of this message | ||
Hi Guys,
I am querying my MySQL database with this sql:
$q->ezi_query($db, "SELECT id FROM words WHERE word='$word'");
ezi_query() is just a class - an database layer so the databases can be
swapped.
Then I check the result to see if it worked. But all I get in the result is
Resource id #5 - this number can very sometimes as I am doing these query in
a loop and it just counts up..... to 8. But I am querying for $word which is
a string which is not in that table in the database?
Does anybody now what this means?
Thanks.
Scott