Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2012
    Posts
    18
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Error in code.help..

    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>

    }

  • #2
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,537
    Thanks
    45
    Thanked 259 Times in 256 Posts
    Can a mod close this? its the same as another thread.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •