how to function in addonline instead be a link topics that user sees?
$tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'"));
$tnm = htmlspecialchars($tinfo[0]);
addonline(getuid_sid($sid),"<b>Watch Topic($tnm)</b>","");
I tried to do this
$tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'"));
$tnm = htmlspecialchars($tinfo[0]);
addonline(getuid_sid($sid),"<b>Watch Topic"<a href=\"index.php?action=$action&tid=$tid&sid=$sid\">$tinfo[0]</a></b>","");
but it is not good ... show link topics, but join the SID of users who viewed the subject, not in my sid...Does anyone have an idea how to insert a link topics?? 🙂.. I tried with the help of BB code
$tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'"));
$tnm = htmlspecialchars($tinfo[0]);
addonline(getuid_sid($sid),"<b>Watch Topic [topic=$tid]$tinfo[0][/topic]</b>","");
but not for BB code in function addonline...😳