Hai ragione posto tutta la pagina:
<html>
<?php
define("PAGE_TITLE", "Elenco server clienti");
define("PHP_FILE_NAME", "db2_update7.php")
?>
<head>
<title><?= PAGE_TITLE . " - " . PHP_FILE_NAME; ?></title>
<head>
<style type="text/css">
body {margin:0px}
body{font: 76%/1.3 Arial,Verdana,sans-serif}
div.box{width:0px;width /**/:1020px;
height:0px;height /**/: 438px;
overflow:auto;padding: 0px;
border:1px solid #000000;border-right:0 solid;
background: #666666;
repeat-x fixed top left}
div.box p{margin-top:0}
.style14 {
font-size: 24px;
font-weight: bold;
}
body {
background-attachment:"fixed";
background-repeat:"repeat";
cursor: Default; text-decoration: none;
scrollbar-arrow-color: #000000;
scrollbar-base-color: #666666;
scrollbar-dark-shadow-color: #666666;
scrollbar-track-color: #666666;
scrollbar-face-color: #666666;
scrollbar-shadow-color: #999999;
scrollbar-highlight-color: #999999;
scrollbar-3d-light-color: #666666;
backgroundcolor: #666666
}
</style>
</head>
<body style="overflow:hidden;" bgcolor="#666666">
<table border="0" width="100%">
<tr>
<td height="72"></td>
</tr>
<tr>
<td><div class="box" align="left">
<?php
/* Apertura connessione al database*/
include("connection.inc");
/* Costruzione dello statement SQL da eseguire */
/*$sql = 'select * from ACSSI_DAT.SRVRQ00F';*/
$sql = 'select * from ACSSI_DAT.SERCL00F order by SERCLI';
/* Esecuzione diretta dello stament SQL */
$stmt = db2_exec($dbh, $sql, array('cursor' => DB2_SCROLLABLE));
print '
<table border=1 cellpadding=7 cellspacing=5>';
echo (date("l d F y H:i:s a"));
/* Salvataggio dei dati estratti in un array, ciclo di lettura e stampa dei dati. */
/* Sul campo customerNumber viene impostato un hiperlink in modo da renderlo cliccabile */
/* ed invocare lo scrip PHP per la modifica dei dati cliente*/
while ($row = db2_fetch_array($stmt)) {
if (!$row=="") {
$customerSERCLI = $row[7];
$customerSERSRN = $row[8];
$customerSERMOD = $row[10];
$customerSERRUO = $row[13];
$customerSERNSP = $row[9];
$customerSERPRO = $row[14];
$customerSERVRS = $row[15];
print '<tr><td align=center>
<a href=db2_update6.php?customerSERCLI=' . $customerSERCLI .'&customerSERNUM=' . 1 .
'&customerSERSRN=' . $customerSERSRN . '&customerSERMOD=' . $customerSERMOD .'>' . $customerSERCLI .
'</a><td>'.$customerSERSRN.'<td>'.$customerSERMOD.'<t d>'.$customerSERRUO.'<td>'.$customerSERNSP.'<td>'. $customerSERPRO.'<td>'.$customerSERVRS.'</td></tr>';
}
}
print '</table>
';
/* Stampa dello statement SQL eseguito */
print "
Echo of dynamically-built sql: ".$sql."</p>";
?>
</div>
</td>
</tr>
</table>
</body>
</html>