in the future, use the code tags (code with square brackets around it; and /code to end; again with square brackets). it makes easier to read! (it also would help to do some indents!)
Code:
<?php
for($i=0, $row=0; $i < sizeof($expectedItems); $i++, $row++) {
$rowClass = (($row / 2) == floor($row / 2)) ? "rowEven" : "rowOdd";
echo ' <div class="centerBoxContentsUpdated centeredContent back">' . "\n";
echo ' <a href="' . zen_href_link(zen_get_info_page($expectedItems[$i]['products_id']), 'cPath=' . $productsInCategory[$expectedItems[$i]['products_id']] . '&products_id=' . $expectedItems[$i]['products_id']) . '"> ' . zen_image(DIR_WS_IMAGES . $expectedItems[$i]['products_image'], $expectedItems[$i]['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br clear=all /><strong><a href="' . zen_href_link(zen_get_info_page($expectedItems[$i]['products_id']), 'cPath=' . $productsInCategory[$expectedItems[$i]['products_id']] . '&products_id=' . $expectedItems[$i]['products_id']) . '">' . $expectedItems[$i]['products_name'] . '</a></strong><br clear=all />' . zen_get_products_manufacturers_name($expectedItems[$i]['products_id']) . '<br clear=all />' . "\n";
echo ' ' . zen_date_short($expectedItems[$i]['date_expected']) . '<br clear=all /><br clear=all /></div>' . "\n";
}
?>
can you post the html output by your code? ideally one (or a couple) copies of the <div class="centerBoxContentsUpdated centeredContent back">' would be helpful.
actually, i'm pretty sure your problem is probably where the $expectedItems object is created. if you track down where that SQL statement is constructed, i'm pretty sure the field: products_image is not in that SQL statement. if you add it there, it should work fine.
good luck!
Bookmarks