Oferta magazin Omnia Pro Lizeanu



connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE); $sql = "SELECT * FROM op_products ORDER BY denumire"; $brands = $db->Execute($sql); $sql = "SELECT COUNT(*) AS total FROM op_brands"; $brands_total = $db->Execute($sql); $brands_total = $brands_total->fields['total']; //$number_items_per_row = 3; echo ' '; $i = 0; while (!$brands->EOF) { echo ' '; $brands->MoveNext(); $i++; } // if (is_int($i/2)) {echo ' bgcolor="#E9E9E9"';} echo '
Denumire produs: Preturi incepand de la:
'; echo $brands->fields['denumire']; echo ''; echo number_format($brands->fields['pret'], 2, ',', '.'); echo ' RON  ('; echo number_format(($brands->fields['pret'])*10000, 0, ',', '.'); echo ' ROL)
'; ?>
Preturile includ TVA.