All pastes #192251 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-10-05 20:18 UTC
rendered paste body
if($_POST['accion'] == "nuevo") {
        $sql = "INSERT INTO VARIABLES_ENCUESTA_PREGUNTAS (ID_PROYECTO, ID_PREGUNTA, PREGUNTA, ID_EMPLEADO) values ('$ID_PROYECTO', '2', '$pregunta', '$ID_EMPLEADO')";
	mssql_query($sql) or die('Query failed');

	Header("Location: preguntas.php");
	exit();
}