Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/04/2007, 14:40
Avatar de jimadri
jimadri
 
Fecha de Ingreso: julio-2006
Ubicación: Buenos Aires
Mensajes: 487
Antigüedad: 17 años, 10 meses
Puntos: 1
Mas Problemas Con Tablas!!!!!

Buenas Tardes, gente!!! Mi problema hoy es que no logro sumar a esta tabla tarifas una fila que muestre las observaciones. Me pone la palabra "observaciones:" antes de empezar el bucle.
Mi idea es mostrar la tabla de las tarifas y al final "OBSERVACIONES:" y el texto que corresponda.
Les dejo mi codigo para que vean que hago.

Código PHP:
<table width="100%" height="26"  border="1" bordercolor="#006600"> 
  <tr> 
    <td width="120" bgcolor="#009933"><div align="center"><strong>Habitaci&oacute;n</strong></div></td> 
    <td width="54" bgcolor="#009933"><div align="center"><strong>Single</strong></div></td> 
    <td width="47" bgcolor="#009930"><div align="center"><strong>Doble</strong></div></td> 
    <td width="48" bgcolor="#009933"><div align="center"><strong>Triple</strong></div></td> 
    <td width="73" bgcolor="#009933"><div align="center"><strong>Cuadruple</strong></div></td> 
    <td width="111" bgcolor="#009933"><div align="center"><strong>Family Plan </strong></div></td> 
    <td width="70" bgcolor="#009933"><div align="center"><strong>Validez</strong></div></td> 
    <td width="105" bgcolor="#009933"><strong>Regimen</strong></td> 
  </tr> 
<? 
   
  
while($myrow mysql_fetch_array($result)) 
    { 
         
?> 
  <tr> 
    <td width="120" align="left"><? echo $myrow[desc_habitacion]; ?></td> 
    <td width="54" align="center" valign="middle"><? echo $myrow[single]; ?></td> 
    <td width="47" align="center" valign="middle"><? echo $myrow[doble]; ?></td> 
    <td width="48" align="center" valign="middle"><? echo $myrow[triple]; ?></td> 
    <td width="73" align="center" valign="middle"><? echo $myrow[cuadruple]; ?></td> 
    <td width="111" align="center" valign="middle"><? echo $myrow[family_plan]; ?></td> 
    <td width="70" align="center" valign="middle"><? echo $myrow[validez]; ?></td> 
    <td width="105" align="center" valign="middle"><? echo $myrow[desc_regimen]; ?></td>
    </tr>

    <? 
     
    
}
    

}
    
    
    else
    
    { 
     
// end while 
    
?>

</table> 

<br>
<table width="100%"  border="0">
   <tr>
     <td width="100%" scope="col"><div align="center" class="subtitulo">No hemos encontrado registros</div></td>
   </tr>
</table>
<?
 
  
}
    
}
?>