mark27uk3 Posted January 2, 2006 Share Posted January 2, 2006 Hi Guys, I am trying to add a seperator to my specials page between the product rows but with no success. <?php $row = 0; $specials_query = tep_db_query($specials_split->sql_query); while ($specials = tep_db_fetch_array($specials_query)) { $row++; echo ' <td align="center" width="33%" valign="top" class="smallText"><b><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . $specials['products_name'] . '</a></b><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $specials['products_image'], $specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><span class="stockStatus">' . TEXT_REGULAR_PRICE . ' ' . $currencies->display_price($specials['products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</span><br><span class="productSpecialPrice">' . TEXT_SPECIAL_PRICE . ' ' . $currencies->display_price($specials['specials_new_products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</span><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '"><span class="star-product-title">' . STAR_READ_MORE . '</span></a></td>' . "\n"; if ((($row / 3) == floor($row / 3))) { ?> I presume I need to do something with this line just not sure what though. if ((($row / 3) == floor($row / 3))) { can anyone give me a shove in the right direction please. Thanks Mark Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.