Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
salve galera estou aki com um site pronto (graças a Deus) porem tenho 1 pequeno problema
estou tentnaod imprimir uma tabela que terá varias paginas
gostaria que ela imprimisse um cabeçalho em todas as paginas
e tambem estou tendo outro problema ela nao esta imprimindo a 1 borda da 1 linha nas outras paginas
<?php
session_start(); // Inicia a session
include "functions.php"; // arquivo de funções.
session_checker(); // chama a função que verifica se a session iniciada da acesso à página.
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[http://www.w3.org/1999/xhtml">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Carros Novos</title>
</head>
<body VLINK="blue" onload="window.print();">
<style type="text/css"></style>
<link rel="shortcut icon" href="favicon.ico" >
<?php
require('conexao.php');
?>
<table width="775" border="0" >
<tr>
<td width="170" height="57">
<div align="center"><strong><u>Empresa</u></strong>
</div>
</td>
<td colspan="6">
</td>
<td width="126" rowspan="2"><img src="imagens/logo.JPG" alt="Logo da empresa" width="111" height="102" /></td>
</tr>
<tr>
<td>
<div align="center"><strong>Estoque de Novos</strong></div></td>
<td colspan="6"> <div align="center"><?php
$data=date("d/m/Y");
echo $data;
?></div></td>
</tr>
</table>
<table width="775" border="1" style="border-collapse: collapse">
<thead>
<tr>
<th width="195" colspan="1"><div align="center">Modelo, Versão e Série</div></th><th width="48"><div align="center">Cor</div></th><th width="216"><div align="center">Opicionais</div></th><th width="58"><div align="center">Status</div></th><th width="18"><div align="center"> Pg</div></th><th width="38"><div align="center">Placa</div></th><th width="57"><div align="center">Chassi</div></th><th width="50"><div align="center">Valor</div></th><th width="37"><div align="center">Local</div></th>
</tr>
</thead>
<tbody>?>
<tr>
<th scope="col"><font face="Arial" size="1">
<? echo $result['mvs']; ?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $result['cor']; ?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $result['opt']; ?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $result['status']; ?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $result['parcela']; ?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $result['placa']; ?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $result['chassi']; ?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $valor1 = number_format($result['valor'],2, ",", ".");?></font></th>
<th scope="col"><font face="Arial" size="1"><? echo $result['local']; ?></font></th>
</tr>?>
</tbody>
</table>
</body>
</html>alguem poderia me ajudar?Carregando comentários...