Parse Error
#2
function socialgroups_reported_posts()
{
    global $db, $mybb, $lang;
    if ($report['type'] == 1) 
    { 
        $report['postlink'] ='<a href="'.$settings['bburl'].'/groupthread.php?pid='.$report['pid'].'" target="_blank">'.$report['pid'].'</a>'; 
        $report['threadlink'] ='<a href="'.$settings['bburl'].'/groupthread.php?conid='.$report['tid'].'" target="_blank">'.$report['tid'].'</a>';
    } 
}

Pay more attention to your quotation marks. Always use single quotes, at least for HTML output so you can properly use double quotes. Concatenate the variables.
[Image: 422.png]
Reply


Messages In This Thread
Parse Error - by dragonexpert - 2011-08-11, 12:03 PM
RE: Parse Error - by Steven - 2011-08-11, 12:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)