MyBB Community Forums

Full Version: get_thread_link($tid)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

I have a problem with using function get_thread_link(), I get from mysql tid and whatn I'm trying add it into mycode it shows:

href="THREAD_URL"

My code

$tidd = $sth->tid;
echo "<a href=\"".get_thread_link($tidd)."\">".$sth->subject." ".$sth->tid."</a><br />";

$tidd is working good