Log in

View Full Version : Very strange error by query!


Velocd
08-16-2002, 12:14 AM
This isn't really an error, but it bugs. In showthread.php, I am running this query within the file for one of my hacks:


$threads = $DB_site->query("SELECT title,threadid FROM thread WHERE forumid=$thread[forumid]");


For some reason, in showthread.php, at any thread, I am seeing this:


Resource id #X

X changes depending on thread, such as in one thread it says:

Resource id #24


Any idea why a query is doing this? I've commented out the rest of my hack to just this query and it's defiantly the cause of the problem.

Velocd
08-16-2002, 02:19 AM
never mind, problem solved. ;)