wow it's great for coder. big thank all
--------------- Added [DATE]1215142664[/DATE] at [TIME]1215142664[/TIME] ---------------
thank for first question. now i got trouble with query
my query:
Code:
$x = $vbulletin->db->query_read("
SELECT * FROM " . TABLE_PREFIX . "thread as t
INNER JOIN " . TABLE_PREFIX . "post as p ON (t.threadid = p.threadid)
WHERE forumid IN(xx) ORDER BY p.post_thanks_amount DESC LIMIT 0 , 5");
while ($xxx = $vbulletin->db->fetch_array($x))
{
$mymessage = $xxx['threadid'];
$threaddm->do_set('pagetext', $mymessage);
}
more code....
the thread auto create perfectly with all infomation but 'pagetext' can not get anything from my query, it's empty.
i want to ask who can help me:
how can i get 5 threadid and put it on 'pagetext'
it's mean 1 new thread with 5 threadid (i got from above query) on its
best regard,