ya hice todos los cambios pero no pasa nada, debe de haber algo mal en los insert porque si los saco me muestra la pagina pero si los incluyo aparece la pagina en blanco, el codigo es el sgte:
Código PHP:
<?php
if ($_GET['Accion']=="guardando") {
conectar();
$id = $_GET['id'];
$empresa = $_GET['empresa'];
$curso = $_GET['curso'];
$f_inicio = $_GET['f_inicio'];
$f_termino = $_GET['f_termino'];
$lugar = $_GET['lugar'];
$participantes = $_GET['participantes'];
$d1 = $_GET['d1'];
$d2 = $_GET['d2'];
$d3 = $_GET['d3'];
$d4 = $_GET['d4'];
$d5 = $_GET['d5'];
$tr1 = $_GET['tr1'];
$si1 = $_GET['si1'];
$pp1 = $_GET['pp1'];
$d6 = $_GET['d6'];
$d7 = $_GET['d7'];
$d8 = $_GET['d8'];
$d9 = $_GET['d9'];
$d10 = $_GET['d10'];
$tr2 = $_GET['tr2'];
$si2 = $_GET['si2'];
$pp2 = $_GET['pp2'];
$d11 = $_GET['d11'];
$d12 = $_GET['d12'];
$d13 = $_GET['d13'];
$d14 = $_GET['d14'];
$d15 = $_GET['d15'];
$tr3 = $_GET['tr3'];
$si3 = $_GET['si3'];
$pp3 = $_GET['pp3'];
$d16 = $_GET['d16'];
$d17 = $_GET['d17'];
$d18 = $_GET['d18'];
$d19 = $_GET['d19'];
$d20 = $_GET['d20'];
$tr4 = $_GET['tr4'];
$si4 = $_GET['si4'];
$pp4 = $_GET['pp4'];
$d21 = $_GET['d21'];
$d22 = $_GET['d22'];
$d23 = $_GET['d23'];
$d24 = $_GET['d24'];
$d25 = $_GET['d25'];
$tr5 = $_GET['tr5'];
$si5 = $_GET['si5'];
$pp5 = $_GET['pp5'];
$d26 = $_GET['d26'];
$d27 = $_GET['d27'];
$d28 = $_GET['d28'];
$d29 = $_GET['d29'];
$d30 = $_GET['d30'];
$tr6 = $_GET['tr6'];
$si6 = $_GET['si6'];
$pp6 = $_GET['pp6'];
$pt1 = $_GET['pt1'];
pg_query("INSERT INTO cursos (id, empresa, curso, f_inicio,f_termino, lugar, participantes)
VALUES (".$id.", '".$empresa."', ".$curso." , '".$f_inicio."' , '".$f_termino."' , '".$lugar."' , ".$participantes." )");
pg_query("INSERT INTO conocimientos (id, d1, d2, d3, d4, d5, tr1, si1, pp1)
VALUES (".$id.", ".$d1.", ".$d2.", ".$d3.", ".$d4.", ".$d5.", ".$tr1.", ".$si1.", ".$pp1." )");
pg_query("INSERT INTO tecnica (id, d6, d7, d8, d9, d10, tr2, si2, pp2)
VALUES (".$id.", ".$d6.", ".$d7.", ".$d8.", ".$d9.", ".$d10.", ".$tr2.", ".$si2.", ".$pp2." )");
pg_query("INSERT INTO infraestructura (id, d11, d12, d13, d14, d15, tr3, si3, pp3 )
VALUES (".$id.", ".$d11.", ".$d12.", "$.d13.", ".$d14.", ".$d15.", ".$tr3.", ".$si3." , ".$pp3." )");
pg_query("INSERT INTO equipamiento (id, d16, d17, d18, d19, d20, tr4, si4, pp4)
VALUES (".$id.", ".$d16.", ".$d17.", "$.d18.", ".$d19.", ".$d20.", ".$tr4.", ".$si4.", ".$pp4." )");
pg_query("INSERT INTO satisfaccion (id, d21, d22, d23, d24, d25, tr5, si5, pp5, d26, d27, 28, d29, d30, tr6, si6, pp6, pt1)
VALUES (".$id.", ".$d21.", ".$d22.", ".$d23.", ".$d24.", ".$d25.", ".$tr5.", ".$si5.", ".$pp5.", ".$d26.", ".$d27.", ".$d28.", ".$d29.", ".$d30.", ".$tr6.", ".$si6.", ".$pp6.", ".$pt1." )");
echo " <script language='JavaScript' type='text/JavaScript'> ";
echo " alert ('DATOS INGRESADOS!!'); ";
echo " </script> ";
}
?>
* No se mucho php, por lo cual no se si habra algo mal en los insert...