#!/usr/bin/perl print "Content-type: text/html\n\n"; $database = "catalogo"; #just the name of the file $data_location = "/home/.sites/148/site16/web/ofertas"; print "


|
PRODUCTO
|
DESCRIPCION
|
PRECIO
|
| \n"; $count=0; foreach $fields(@fields) { $campo++; print " | $fields | \n";} if ($campo == 2){print "width=\"250\">$fields\n";} if ($campo == 3){print "width=\"100\" align=center>$fields\n";} # --------------------------------------------------------- $count++; } print "";} $count++; } print " |