Hallo Leute,
hat jemand einen Vorschlag für mich wie man aus dieser Schleife das erste Ergebnis bekommt.
Also ich möchte das erste Ergebnis noch einmal Extra ausgeben.
Danke und Gruss.
hat jemand einen Vorschlag für mich wie man aus dieser Schleife das erste Ergebnis bekommt.
Also ich möchte das erste Ergebnis noch einmal Extra ausgeben.
Danke und Gruss.
PHP:
$rows = 0;
$bestsellers_list = '<table border="0" width="100%" cellspacing="0" cellpadding="1">';
while ($best_sellers = tep_db_fetch_array($best_sellers_query)) {
$rows++;
$bestsellers_list .= '<tr><td class="smalltext" valign="top">' . tep_row_number_format($rows) . '.</td><td class="smalltext"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id']) . '">' . $best_sellers['products_name'] . '</a></td></tr>';
}