Quote:
Originally Posted by SilentK
That worked before 3.5. What changed? and what do I need to change to make it work?
|
$DB_site is now $db.
And you should use query_read/query_write instead of just query depending if you are reading from or writing to the database.
PHP Code:
echo('<a href="javascript:widget.openURL(\'http://www.xblteams.com/forums/showthread.php?t=' . $row[threadid] . '\')">' . htmlentities($row[title]) . '</a><br />');
should work.
The htmlspecialchars_uni() is necesarry, otherwise you create an XSS vulnerbilitie.