Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
AVIDOTAPP
/
views
/
invenconsul
:
excel_nuevo.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> table { border-collapse: collapse; width: 100%; } th { background-color: #d0101d; color: white; padding: 8px; text-align: left; font-weight: bold; } td { padding: 8px; border: 1px solid #ddd; } tr:nth-child(even) { background-color: #f2f2f2; } </style> </head> <body> <table border="1"> <thead> <tr> <th>CÓDIGO</th> <th>DESCRIPCIÓN</th> <th>CANTIDAD</th> <th>PRECIO UND</th> </tr> </thead> <tbody> <?php foreach ($rows as $row): ?> <tr> <td><?= htmlspecialchars($row['CODIGO']) ?></td> <td><?= htmlspecialchars($row['DESCRIPCION']) ?></td> <td><?= htmlspecialchars($row['CANTIDAD']) ?></td> <td><?= !empty($row['precio']) ? '$' . number_format($row['precio'], 2) : 'N/A' ?></td> </tr> <?php endforeach; ?> </tbody> </table> </body> </html>