asalute Posted February 13, 2014 Share Posted February 13, 2014 (edited) Greetings, I am trying to figure out why an error is being thrown here is the code. the error is Parse error: syntax error, unexpected ';' echo '<div id="liGal"><ul class="mainImage" >' . "\n"; $pi_counter = 0; while ($listing = tep_db_fetch_array($listing_query)) { $pi_counter++; $pi_entry = '<li>'; $pi_entry .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'] . '</a>'; // <-- this is the line $pi_entry .= '</li>'; } echo '</ul></div>'; the line throwing the error is bolded and italisized. thanks in advance. Edited February 13, 2014 by asalute Quote Link to comment Share on other sites More sharing options...
.josh Posted February 13, 2014 Share Posted February 13, 2014 missing closing parenthesis for tep_image() Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.