Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/09/2004, 17:05
shure
 
Fecha de Ingreso: diciembre-2003
Mensajes: 276
Antigüedad: 20 años, 4 meses
Puntos: 0
Me come una fila

Hola

neceito de vuestra ayuda.

Este codigo me quita la primera fila, ¿Que puede ser? Gracias desde ya

<? $resulta=mysql_db_query("bbdd","select * from tabla Where id=$id "); $row=mysql_fetch_array($resulta);
while ($row=mysql_fetch_array($resulta))
{
echo ''<form name="form1" method="post" action="envio.php">
<input name="id" type="hidden" id="id" value="'.$row[id].'">
<input name="varios_cuatro" type="hidden" id="varios_cuatro" value="Responder">
<table width="80%" border="1" cellspacing="0" cellpadding="0"><tr>
<td width="31%"><strong><font size="2" face="Arial, Helvetica, sans-serif">Replica:</font></strong></td> <td width="69%">&nbsp;</td>
</tr><tr> <td>'.$row["pregunta"].'</td>';
if ($row["respuesta"])
{
echo '<td>Mail:'.$row["respuesta"].'</td></tr></table>';
}
else
{
echo '<td><textarea name="respuesta" cols="30" rows="5"></textarea>
<input type="submit" name="Submit2" value="Enviar"></td></tr>
</table> </form>';
}
}
mysql_free_result($resulta)?>
Antes obviamente conecto con la base de datos y la variable id la recibo desde la URl
Favor ayudarme sobre el mismo codigo, gracias por vuestro valioso tiempo

Atte Yo el Shure