- Code: Select all
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic " . (isset($_REQUEST['only_attach']) && $_REQUEST['only_attach'])? 'AND ID_MSG IN (' . implode(',', $ID_MSG) . ')' : '') . "
ORDER BY ID_MSG " . ($ascending ? '' : 'DESC') . ($modSettings['defaultMaxMessages'] == -1 ? '' : "
LIMIT $start, $limit"), __FILE__, __LINE__);
It does this...
- Code: Select all
Parse error: parse error, unexpected ',' in /users/kintaro/public_html/labs/Sources/Display.php on line 560


