Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in My Code

Status
Not open for further replies.

stretcher012599

Programmer
Nov 26, 2005
11
US
I'm getting a T_STRING error in this line of code:

$solved_link = '&nbsp;<a class="topictitle" href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=" . $row['topic_id'] . '&amp;p=' . $row['topic_solved'] . (($u_hilit) ? '&amp;hilit=' . $u_hilit : '') . '&amp;#p' . $row['topic_solved']) . '"' . (($row['forum_solve_color']) ? ' style="color: #' . $row['forum_solve_color'] . '"' : '') . '>' . (($row['forum_solve_text']) ? $row['forum_solve_text'] : $user->img('icon_topic_solved_list', 'TOPIC_SOLVED')) . '</a>';

Can anyone tell me what is wrong?

Thanks
 
brief glimpse suggests that there is nothing wrong with this line. if php is reporting an error on that line then it is probable that the error is in fact in one of the previous lines. look for missing semi-colons.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top