'; $output .= '' . htmlspecialchars($i) . ''; $output .= '' . htmlspecialchars($row['product_name']) . ''; $output .= '' . htmlspecialchars($row['barcode']) . ''; $output .= '' . number_format($previous_stock) . ''; $output .= '' . htmlspecialchars($row['production']) . ''; $output .= ''; $output .= '' . htmlspecialchars($row['inhouse_use']) . ''; $output .= ''; $output .= '' . htmlspecialchars($row['recycling']) . ''; $output .= ''; $output .= '' . htmlspecialchars($row['disposal']) . ''; $output .= ''; $output .= '' . number_format($row['sales']) . ''; $output .= '' . number_format($row['sales_amount']) . ''; $output .= '' . number_format($row['menu_discount']) . ''; $output .= '' . number_format($row['payment_amount']) . ''; $output .= '' . number_format($current_stock) . ''; $output .= ''; $i++; } echo $output;