Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

weslley clyton

Variavel php pegando o codigo html da pagina que esta sendo executada

Recommended Posts

http://diogobesson.wordpress.com/2009/12/28/mpdf-php-e-pdf/

 

 

achei esse link e vou testar agora, é o que vcs disseram ai em cima.. qualquer coisa posto aqui de novo, desde já agradeço muito.

 

http://diogobesson.wordpress.com/2009/12/28/mpdf-php-e-pdf/

 

 

achei esse link e vou testar agora, é o que vcs disseram ai em cima.. qualquer coisa posto aqui de novo, desde já agradeço muito.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Isso ai, poste seu resultado aqui Pode ajudar muita gente futuramente.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Isso ai, poste seu resultado aqui Pode ajudar muita gente futuramente.

 

 

Olha nao sei porque diabos esse trem nao funciona, coemssa a dar um monte de erros..

 

Gostaria muito que você pegasse esse codigo html que vou anexar e tentar fazer ele se transformar em pdf..

 

ai vai..

 



<html>

<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>

<title>.: Relatório de Romaneio :.</title>
</head>

<body>
<div style='padding:20px;'>		<table width='100%' border='0' cellspacing='0' cellpadding='0' style='margin-bottom:40px;'>
 		  <tr>
   		<td width='6%' align='left' valign='middle'><img src='img/policia_imprimir.png' width='52' height='71' /></td>
   		<td width='88%' align='center' valign='middle'  >
           	<div style='height:71px; border-bottom:1px solid #000; border-top:1px solid #000; font-size:9px; padding-top:10px;'>POLÍCIA MILITAR DO PARANÁ<br />
           	  <div style='font-size:18px; letter-spacing: 3px;'><b>CORPO DE BOMBEIROS</b></div><br />
           	  <div style='font-size:10px; letter-spacing: 3px; text-transform:uppercase'>Sistema de Controle de Fardamentos Almoxarifado/CCB</div><br />
           	  <div style='font-size:14px; letter-spacing: 3px;'> 
				                    <b>RELATÓRIO DE ROMANEIOS - POR UNIDADE E POR FARDAMENTO</b>
                 </div>
           	</div>
           </td>
   		<td width='6%' align='right' valign='middle'><img src='img/logo_verevento.jpg' width='52' height='71' /></td>
 		  </tr>
	</table>

   <div style='font-size:14px; margin-bottom:5px;'><b>UNIDADE:</b> 6º SGBI</div><div style='font-size:14px; margin-bottom:5px;'><b>FARDAMENTO:</b> 3º RUPM  A (REPRESENTAÇÃO FORMAL)</div>
<table border='1' width='100%' cellspacing='0' cellpadding='0' style='border: 1px solid #000080;'>
<tr>
	<td coldiv='2'>
	<table border='0' width='100%' cellspacing='0' cellpadding='0' bgcolor='#C0C0C0'>
		<tr>
			<td width='50px' style='border-right:1px solid #808080; width: 160px;padding: 5px 0 5px;'>CINTA VERMELHA</td>
			<td>
							<table border='0' width='100%' cellspacing='0' cellpadding='0'>
				<tr>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							80                            </td>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							90                            </td>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							100                            </td>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							110                            </td>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							120                            </td>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							130                            </td>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							140                            </td>
												<td width='87.5' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							150                            </td>
										</tr>
			</table>
			 </td>
			<td width='50' style='text-align: center'>
			<p align='center'>Sub</td>
		</tr>
	</table>
	</td>
</tr>
<tr>
	<td coldiv='2'>
       		<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>SD QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					20                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					3                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					3                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>26</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>CB QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					7                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>8</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>3º SGT QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>2</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>2º SGT QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					3                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>3</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>1º SGT QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					3                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>3</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>SUBTEN QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					2                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>2</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>ASP OF BM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					2                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					2                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>5</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>2º TEN QEOPM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>1</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>CAP QOBM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>0</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>MAJ QOBM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>1</td>
		</tr>
	</table>
	        </td>
</tr>
<tr>
	<td>
	<table border='0' width='100%' cellspacing='0' cellpadding='0'>
		<tr>
			<td width='160' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>Total</td>
			<td>				<table border='0' width='100%'>
				<tr>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						1 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						1 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						0 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						3 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						39 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						3 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						1 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						3 

                       	</td>
										</tr>
			</table>
			</td>
			<td width='50px' style='text-align: center'>51</td>
		</tr>
	</table>

	</td>
</tr>
   </table>

	<div style='page-break-after: always'></div>	<table width='100%' border='0' cellspacing='0' cellpadding='0' style='margin-bottom:40px;'>
 		  <tr>
   		<td width='6%' align='left' valign='middle'><img src='img/policia_imprimir.png' width='52' height='71' /></td>
   		<td width='88%' align='center' valign='middle'  >
           	<div style='height:71px; border-bottom:1px solid #000; border-top:1px solid #000; font-size:9px; padding-top:10px;'>POLÍCIA MILITAR DO PARANÁ<br />
           	  <div style='font-size:18px; letter-spacing: 3px;'><b>CORPO DE BOMBEIROS</b></div><br />
           	  <div style='font-size:10px; letter-spacing: 3px; text-transform:uppercase'>Sistema de Controle de Fardamentos Almoxarifado/CCB</div><br />
           	  <div style='font-size:14px; letter-spacing: 3px;'> 
				                    <b>RELATÓRIO DE ROMANEIOS - POR UNIDADE E POR FARDAMENTO</b>
                 </div>
           	</div>
           </td>
   		<td width='6%' align='right' valign='middle'><img src='img/logo_verevento.jpg' width='52' height='71' /></td>
 		  </tr>
	</table>

   <div style='font-size:14px; margin-bottom:5px;'><b>UNIDADE:</b> 6º SGBI</div><div style='font-size:14px; margin-bottom:5px;'><b>FARDAMENTO:</b> 3º RUPM  A (REPRESENTAÇÃO FORMAL)</div>
<table border='1' width='100%' cellspacing='0' cellpadding='0' style='border: 1px solid #000080;'>
<tr>
	<td coldiv='2'>
	<table border='0' width='100%' cellspacing='0' cellpadding='0' bgcolor='#C0C0C0'>
		<tr>
			<td width='50px' style='border-right:1px solid #808080; width: 160px;padding: 5px 0 5px;'>QUEPE EM TECIDO CÁQUI</td>
			<td>
							<table border='0' width='100%' cellspacing='0' cellpadding='0'>
				<tr>
												<td width='116.666666667' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							55                            </td>
												<td width='116.666666667' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							56                            </td>
												<td width='116.666666667' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							57                            </td>
												<td width='116.666666667' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							58                            </td>
												<td width='116.666666667' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							59                            </td>
												<td width='116.666666667' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
							60                            </td>
										</tr>
			</table>
			 </td>
			<td width='50' style='text-align: center'>
			<p align='center'>Sub</td>
		</tr>
	</table>
	</td>
</tr>
<tr>
	<td coldiv='2'>
       		<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>SD QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>0</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>CB QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>0</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>3º SGT QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>2</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>2º SGT QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>2</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>1º SGT QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>1</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>SUBTEN QPM 2-0</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>0</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>ASP OF BM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					2                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>3</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>2º TEN QEOPM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>1</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>CAP QOBM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>0</td>
		</tr>
	</table>
			<table border='0' width='100%' cellspacing='0' cellpadding='0' style='border-bottom: 1px solid #C0C0C0'>
		<tr>
			<td width='160px' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>MAJ QOBM</td>
			<td>
               				<table border='0' width='100%'>
				<tr>
										<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					1                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
											<td width='40px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
					0                          </td>
										</tr>
			</table>
							</td>
			<td width='50px' style='text-align: center'>1</td>
		</tr>
	</table>
	        </td>
</tr>
<tr>
	<td>
	<table border='0' width='100%' cellspacing='0' cellpadding='0'>
		<tr>
			<td width='160' style='border-right: 1px solid #808080;padding: 5px 0 5px;'>Total</td>
			<td>				<table border='0' width='100%'>
				<tr>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						2 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						5 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						1 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						2 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						0 

                       	</td>
												<td width='50px' style='border-right: 1px solid #808080; height: 25px; text-align: center;'>
						0 

                       	</td>
										</tr>
			</table>
			</td>
			<td width='50px' style='text-align: center'>10</td>
		</tr>
	</table>

	</td>
</tr>
   </table>

</body>

</html>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Baixei o DOMpdf para testa-lo, gerei o pdf de dados vindos do banco de dados, gerou belezinha, porém quando faço o teste com um loop não tenho um resultado positivo. Alguem conhece o Dom e sabe como fazer isso?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Compartilhar este post


Link para o post
Compartilhar em outros sites

weslley clyton quanto ao css pelo que vi tem restrições sim, porém ainda nem tentei aprofundar nesta parte, estou com problemas ao envolve-lo num loop. Ou seja resgatar vários dados vindos do BD.

 

Esse DOM tem alguma restrição quanto a css??

 

pois tentei gerar o html acima e ele diz que o html é inválido, e mais um monte de erros...

 

Alguem pode dar uma luz ae?

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.