function actualizar_preguntas($id, $pregunta, $cuestionario)
 {
     require "DAT/DATpreguntas.php";
     $preguntaa = new pregunta();
     $preguntaa->__construct3($id, $pregunta, $cuestionario);
     $resultado = preguntas_upd($preguntaa->get_id(), $preguntaa->get_preguntas(), $preguntaa->get_id_cuestionario());
 }
<?php

include "cabecera.php";
include "BL/cuestionarios_funciones.php";
include "BL/preguntas_funciones.php";
include "BL/respuestas_funciones.php";
$pregunta = consultar_preguntas('id', $_GET['pregunta']);
$pregunta = $pregunta[0];
if (isset($_POST['pregunta'])) {
    preguntas_upd($_GET['pregunta'], $_POST['pregunta'], $_GET["cuestionario"]);
    if (isset($_POST['Correcta'])) {
        switch ($_POST['Correcta']) {
            case '1':
                respuesta_upd($_POST['id1'], $_POST['Alt1'], 1, $_GET['pregunta']);
                respuesta_upd($_POST['id2'], $_POST['Alt2'], 0, $_GET['pregunta']);
                respuesta_upd($_POST['id3'], $_POST['Alt3'], 0, $_GET['pregunta']);
                break;
            case '2':
                respuesta_upd($_POST['id1'], $_POST['Alt1'], 0, $_GET['pregunta']);
                respuesta_upd($_POST['id2'], $_POST['Alt2'], 1, $_GET['pregunta']);
                respuesta_upd($_POST['id3'], $_POST['Alt3'], 0, $_GET['pregunta']);
                break;
            case '3':
                respuesta_upd($_POST['id1'], $_POST['Alt1'], 0, $_GET['pregunta']);
                respuesta_upd($_POST['id2'], $_POST['Alt2'], 0, $_GET['pregunta']);
                respuesta_upd($_POST['id3'], $_POST['Alt3'], 1, $_GET['pregunta']);
                break;
            default:
                break;
        }
        echo "<div align=center><h1>GUARDANDO, ESPERA...\n    <meta http-equiv='Refresh' content='2;url=ficha_cuestionario.php?cuestionario=" . $_GET["cuestionario"] . "'></font></h1></div>";