Añadir tiempoRespuesta

This commit is contained in:
2026-10-01 14:12:36 +02:00
parent befc6a7cc1
commit cbdbd8bc4b
4 changed files with 75 additions and 43 deletions
+2
View File
@@ -24,6 +24,8 @@ class Respuesta{
$consulta->bindParam(':idPregunta', $this->idPregunta);
$consulta->bindParam(':nombreRespuesta', $this->nombreRespuesta);
$consulta->bindParam(':correcta', $this->correcta);
$consulta->execute();
$respuesta = [
'exito' => 'La respuesta se guardó correctamente.',