View Full Version : [HELP] [VB3 G] Thread description


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

assassingod
7th December 2003, 05:37 PM
$thread[threaddisc]? DO you mean $thread[threaddesc] ?

Disjunto
7th December 2003, 06:27 PM
$thread[threaddisc]? DO you mean $thread[threaddesc] ?
yeh, dno y i typed that then :|

assassingod
7th December 2003, 06:51 PM
How doesn't it work when you try it?

Disjunto
7th December 2003, 06:53 PM
it shows nothing

Disjunto
7th December 2003, 09:36 PM
i've made progress on this, for some reason it wasn't putting the information into the database, i'm sure i made the code to do that. well anyway, if i put the data in manually into DB it shows :)

Floris
7th December 2003, 10:05 PM
Thread moved to low level trouble shooting :)

Disjunto
7th December 2003, 10:14 PM
thought it should go under source code modification as it does say for releases or HELP :)

Floris
7th December 2003, 10:56 PM
Uhm, good point :) *thinks about it*