Current Sale Items'; // Loop through each item: while ($row = mysqli_fetch_array($r, MYSQLI_ASSOC)) { echo '

' . $row['category'] . '::' . $row['name'] .'

' . $row['name'] . '' . $row['description'] . '
' . get_price('goodies', $row['price'], $row['sale_price']) . ' Availability: ' . get_stock_status($row['stock']) . '

Add to Cart

'; } echo BOX_END;