...

View Full Version : Error in code.help..



sssunny
07-21-2012, 02:14 PM
Parse error: syntax error, unexpected '?' in /home/a4961700/public_html/profile.php on line 229



if (isset($_SESSION['idx']))
{
$blabberDisplayList .= '
<table width="100%" align="center" cellpadding="4" bgcolor="#CCCCCC">
<tr>
<td width="10%" valign="top">' . $blab_pic . '</td>
<td width="90%" valign="top" style="line-height:1.5em;"><span class="greenColor textsize10">' . $blab_date . ' <a href="profile.php?id=' . $uid . '">' . $username . '</a> said:</span><br />
' . $the_blab . '</td>
</tr><tr>
<td valign="top" colspan="2">
<div class="fb-comments" data-href="http://akhrot.com" data-num-posts="20" data-width="450"></div>
</td>


[this is the line 229]<a href="javascript:;" onClick="doAction(<?php echo $postid; ?>','like');">Like (<span id="<?php echo $postid; ?>_likes"><?php echo $data->like; ?></span>)</a>
<a href="javascript:;" onClick="doAction('<?php echo $postid; ?>','unlike');">Unlike (<span id="<?php echo $postid; ?>_unlikes"><?php echo $data->unlike; ?></span>)</a>

}

Keleth
07-21-2012, 03:35 PM
Can a mod close this? its the same as another thread.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum