$result2 = dbquery(
"SELECT f.*, f2.forum_name AS forum_cat_name FROM ".DB_FORUMS." f
LEFT JOIN ".DB_FORUMS." f2 ON f.forum_cat=f2.forum_id
WHERE f.forum_id='".$data['forum_id']."'"
);
$data2 = dbarray($result2);
".$data['forum_name']."
".$data2['forum_cat_name']."
Quote
$result = dbquery(
"SELECT g.*, gg.*, u.user_name, u.user_id FROM ".DB_THREADS." g
LEFT JOIN ".DB_FORUMS." gg
ON g.forum_id=gg.forum_id
INNER JOIN ".DB_USERS." u
WHERE g.thread_lastuser=u.user_id
ORDER BY g.thread_lastpost DESC LIMIT 10"
);
Category Forum
Panels and InfusionsLabels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions