Ver Mensaje Individual
  #10 (permalink)  
Antiguo 17/11/2010, 06:39
Avatar de seguridadweb
seguridadweb
 
Fecha de Ingreso: marzo-2010
Mensajes: 41
Antigüedad: 14 años, 1 mes
Puntos: 1
Respuesta: Embeber php y html

Si, lei el codigo y cerras la tabla en cada bucle y solo hay que cerrar los tr nomas, mira fijate el codigo final es asi y este si deberia funcionar:

Cita:
Iniciado por CodigoFinal
<?php
require('./mysql/configuracion.php');//aqui se realiza la conexion al bd
$sqle="SELECT * FROM revistas";
$sqle=mysql_query($sqle);
echo "<div class='form-all'><!--esto hace que no sea muy grande-->
<label class='form-label-top' id='label_1' for='input_1'> </label>
<div id='cid_1' class='form-input-wide'>
<table summary='' cellpadding='4' cellspacing='0' class='form-matrix-table'>
<tr>
<th style='border:none'>
&nbsp;
</th>
<th class='form-matrix-column-headers' style='width:52%'>Compro</th>
<th class='form-matrix-column-headers' style='width:52%'>Leyo</th>
</tr>";
while ($row=mysql_fetch_array($sqle)){
echo "<tr>
<td align='left' class='form-matrix-row-headers' nowrap='nowrap'>".$row['nombre']."</td>
<td align='center' class='form-matrix-values'>
<input type='text' size='1' name='q1_1[0][]' />
</td>
<td align='center' class='form-matrix-values'>
<input type='text' size='1' name='q1_1[0][]' />
</td>
</tr>";
}
echo "</table></div>";
echo "hola";
?>
PD: Nuevamente espero respuesta ;)!