PHP Code:
SELECT thread.threadid, thread.title, thread.iconid, icon.iconid, icon.iconpath
FROM " . TABLE_PREFIX . "thread
LEFT JOIN " . TABLE_PREFIX . "icon AS icon ON (icon.iconid = thread.iconid)
ORDER BY threadid ASC
{
$thread.="<a href='$thread[threadid].html'>$thread[iconpath]</a>";
}
Let's assume I've the above query & code.
How do I modify it so it can correctly call
$thread[iconpath] which is the path of the thread icon?