Created
July 5, 2012 01:57
-
-
Save anonymous/3050545 to your computer and use it in GitHub Desktop.
listagem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$seleciona = mysql_query("select * from NFE_ENTRADA WHERE CHAVENFE='$CHAVENFE'"); | |
$linhas = mysql_num_rows($seleciona); | |
<?php | |
for($cont = 0 ;$cont < $linhas ; $cont++) | |
{ | |
$cProd1 = mysql_result($seleciona, $cont, "cProd"); | |
$xProd = mysql_result($seleciona, $cont, "xProd"); | |
$infAdProd = mysql_result($seleciona, $cont, "infAdProd"); | |
$NCM = mysql_result($seleciona, $cont, "NCM"); | |
$qCom = mysql_result($seleciona, $cont, "qCom"); | |
$vUnCom = mysql_result($seleciona, $cont, "vUnCom"); | |
$vProd = mysql_result($seleciona, $cont, "vProd"); | |
?> | |
<tr> | |
<td height="17" bgcolor="#FFFFFF" class="style7"><div align="center"><?php echo $cProd1;?></div></td> | |
<td width="35%" bgcolor="#FFFFFF" class="style7"><div align="center"><?php echo $xProd;?> / <?php echo $infAdProd;?></div></td> | |
<td width="10%" bgcolor="#FFFFFF" class="style7"><div align="center"><?php echo $NCM;?></div></td> | |
<td bgcolor="#FFFFFF" class="style7"><div align="center"><?php echo $qCom;?></div></td> | |
<td width="9%" bgcolor="#FFFFFF" class="style7"><div align="center"> | |
<div align="center"><?php echo $vUnCom;?></div> | |
<td height="17" bgcolor="#FFFFFF" class="style7"><div align="center"><?php echo $vProd;?></div></td> | |
<td height="17" bgcolor="#FFFFFF" class="style7"><div align="center"> | |
<label for="textfield2"></label> | |
<input type="text" name="DT_LANCAMENTO" id="textfield2" /> | |
<label for="textfield3"></label> | |
<input name="CODPROD" type="hidden" id="textfield3" value="$produto['cProd']" /> | |
</div> | |
<label for="DT_LANCAMENTO"></label></td> | |
<?php | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment