Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/07/2012, 20:26
Avatar de memoadian
memoadian
Colaborador
 
Fecha de Ingreso: junio-2009
Ubicación: <?php echo 'México'?>
Mensajes: 3.696
Antigüedad: 14 años, 10 meses
Puntos: 641
Respuesta: Problema agregando HTML al codigo PHP

Pues si por que seguramente tienes otros fallos. Revisa todo el código, no querrás que te lo revise como si fuera tu profesor.

Un consejo.

haz esto:
Código PHP:
Ver original
  1. <?php
  2. if ($row==$cero) {
  3. ?>
  4.     <center><b>No tienes mensajes.</b></center>
  5. <?php
  6.     } else {
  7. ?>
  8. <table width="600" border="0" align="center" cellpadding="1" cellspacing="1">
  9.     <tr>
  10.       <td width="50" align="center" valign="top"><strong>Estado</strong></td>
  11.       <td width="50" align="center" valign="top"><strong>De</strong></td>
  12.       <td width="50" align="center" valign="top"><strong>Asunto</strong></td>
  13.       <td width="50" align="center" valign="top"><strong>Fecha</strong></td>
  14.       <td width="40" align="center" valign="top"><strong>Eliminar</strong></td>
  15.     </tr>
  16. <?php
  17. }
  18. ?>

en lugar de lo que haces de poner todas las tablas en un echo. Así es más ordenado.