Código :
$pregunta_php = "".$_POST['preguntaL']."";
$pregunta2_php = "".$_POST['pregunta2L']."";
$respuesta1_php = "".$_POST['res1L']."";
$respuesta11_php = "".$_POST['res11L']."";
$respuesta2_php = "".$_POST['res2L']."";
$respuesta22_php = "".$_POST['res22L']."";
$respuesta3_php = "".$_POST['res3L']."";
$respuesta33_php = "".$_POST['res33L']."";
$correcta1_php = "".$_POST['correcta1L']."";
$correcta2_php = "".$_POST['correcta2L']."";
$correcta3_php = "".$_POST['correcta3L']."";
if(isset($_POST['preguntaL']))
{
mysql_query(utf8_decode("UPDATE preguntasOptica SET pregunta = '$pregunta_php' WHERE pregunta = '$pregunta2_php'"));
mysql_query(utf8_decode("UPDATE respuestasOptica SET respuesta = '$respuesta1_php', correcta = '$correcta1_php' WHERE respuesta = '$respuesta11_php'"));
mysql_query(utf8_decode("UPDATE respuestasOptica SET respuesta = '$respuesta2_php', correcta = '$correcta2_php' WHERE respuesta = '$respuesta22_php'"));
mysql_query(utf8_decode("UPDATE respuestasOptica SET respuesta = '$respuesta3_php', correcta = '$correcta3_php' WHERE respuesta = '$respuesta33_php'"));
echo "&exito=exito&";
}
He de decir que me llegaos datos me llegan perfectamnte de flash por tanto de ahí no me viene el error..... puffff estoy desesperada. Muchas gracias.
