Disjunto
7th December 2003, 04:32 PM
Ok, i'm creating/changing a thread description hack to work with vB3 Gamma.
I'm having problems calling a field from the DB to a variable like it is done with the thread title.
The code i'm using in forumdisplay.php is:
$threads = $DB_site->query("
SELECT $votequery $previewfield
thread.threadid, thread.title AS threadtitle, thread.desc AS threaddesc, lastpost, thread.forumid.......
i'm trying to call the thread.desc part into the variable $thread[threaddisc] but this doesn't seem to work. If this is correct i'm going to have to look deeper into the problem
I'm having problems calling a field from the DB to a variable like it is done with the thread title.
The code i'm using in forumdisplay.php is:
$threads = $DB_site->query("
SELECT $votequery $previewfield
thread.threadid, thread.title AS threadtitle, thread.desc AS threaddesc, lastpost, thread.forumid.......
i'm trying to call the thread.desc part into the variable $thread[threaddisc] but this doesn't seem to work. If this is correct i'm going to have to look deeper into the problem