Y en que parte del form esta para modficar la respuesta???,
Código HTML:
<form id="Modificar" name="form1" method="POST" action="adminencuesta.php">
<table align="center" border="0">
<tr>
<td height="48"width="342">Modifica la pregunta:
<input name="pregunta" type="text" id="pregunta" value="<?php echo($modificar['pregunta']);?>" size="40" maxlength="51" align="left" />
<br /></td>
</tr>
<tr><td height="1" bgcolor="#000000"></td></tr>
<tr>
<td height="42">modifica la opcion 1:
<?php $data=mysql_fetch_assoc($modificaropciones);?>
<input name="modopcion1" type="text" id="opcion1" value="<?php echo($data['respuesta']);?>" size="30" maxlength="28" /></td>
</tr>
<tr><td height="1" bgcolor="#000000"></td></tr>
<tr>
<td height="42">modifica la opcion 2:
<?php $data=mysql_fetch_assoc($modificaropciones);?>
<input name="opcion2" type="text" id="opcion2" value="<?php echo($data['respuesta']);?>" size="30" maxlength="28"/></td>
</tr>
<tr><td height="1" bgcolor="#000000"></td></tr>
<tr>
<td height="49">modifica la opcion 3:
<?php $data=mysql_fetch_assoc($modificaropciones);?>
<input type="text" id="opcion3" name="opcion3"size="30" value="<?php echo($data['respuesta']);?>" maxlength="28"/></td>
</tr>
<tr><td height="1" bgcolor="#000000"></td></tr>
<tr>
<td height="43">modifica la opcion 4:
<?php /*if($data=mysql_fetch_assoc($modificarocpiones)){
$opcion4=$data['respuesta'];
}else{
$o="";
}*/?>
<?php $data=mysql_fetch_assoc($modificaropciones);?>
<input type="text" id="opcion4" name="opcion4" value="<?php echo($data['respuesta']);?>" size="30" maxlength="28"/></td>
</tr>
</table>
<input name="modificar" type="submit" id="modificar"value="modificar" onClick="MM_validateForm('pregunta','','R','opcion1','','R','opcion2','','R');return document.MM_returnValue" />
</form>