Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/10/2007, 06:50
Avatar de xempro
xempro
 
Fecha de Ingreso: marzo-2007
Ubicación: Chile
Mensajes: 222
Antigüedad: 18 años
Puntos: 6
Re: Error en estructura

Prueba esto
<?php
$nCont=0;
while ($row2 = mysql_fetch_array($result2)){
?>
<tr>
<td><center><?php echo trim($row2["COMPANIA"]); ?><input type="hidden" name="compania" value="<?php echo trim($row2["COMPANIA"]);?>"></center></td>
<td><right><b><?php echo trim($row2["CALLE"]);?></b><input type="hidden" name="calle" value="<?php echo trim($row2["CALLE"]);?>"></right></td>
<td><right><b><?php echo trim($row2["POBLA"]); ?></b><input type="hidden" name="poblacion" value="<?php echo trim($row2["POBLA"]);?>"></right></td>
<td><right><b><?php echo trim($row2["PROVIN"]); ?></b><input type="hidden" name="provincia" value="<?php echo trim($row2["PROVIN"]);?>"></right></td>
<td><right><b><?php echo trim($row2["CP"]); ?></b><input type="hidden" name="cp" value="<?php echo trim($row2["CP"]);?>"></right></td>
<td colspan=5 align=center><br><input type=submit value='Confirmar'></br></center></td>
</tr>
<?
$nCont += $nCont+1;
}
?>