djddc Posted March 13, 2010 Share Posted March 13, 2010 Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/bendemic/public_html/includes/page_browse_auctions.php on line 91 I don't see the problem , could anyone help point possible cause ? $browse_auctions_content .= '<tr class="contentfont ' . $background . '"> '. ' <td align="center"><input type="checkbox" name="auction_id[]" value="' . $item_details['auction_id'] . '"></td> '. (($thumbnails[16]=='1')?" <td class='contentfont' nowrap='nowrap' align='center'> <a href='".$auction_link."'><img src='thumbnail.php?pic=" . $auction_image . "&w=".$thumbnails[0]."&sq=".$thumbnails[2]."&b=".$thumbnails[1]."' border='0' alt='".$item_details['name']."' /></a></td>":"<td align='center'><a href='".$auction_link."'>#".$item_details['auction_id']."</a></td>") ' <td><a href="' . $auction_link . '">' . $item_details['name'] . '</a> ' . item_pics($item_details) . '</td> '. //' <td align="center">' . $fees->display_amount($item_details['start_price'], $item_details['currency']) . '</td> '. //' <td align="center">' . $fees->display_amount($item_details['max_bid'], $item_details['currency']) . '</td> '. ' <td align="center">' . $item_details['nb_bids'] . '</td> '. ' <td align="center">' . $fees->display_amount($current_price, $item_details['currency']) . '</td> '. ' <td align="center">' . time_left($item_details['end_time']) . '</td> '. '</tr> '; } } Link to comment https://forums.phpfreaks.com/topic/195110-unexpected-t_constant_encapsed_string/ Share on other sites More sharing options...
CosmosRP Posted March 13, 2010 Share Posted March 13, 2010 ..well, which line is 91? Personally, I try to stay away from stuff like: ' . $item_details['name'] . ' I usually put this stuff into $variables anyways to avoid such errors. Link to comment https://forums.phpfreaks.com/topic/195110-unexpected-t_constant_encapsed_string/#findComment-1025619 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.