Ver Mensaje Individual
  #5 (permalink)  
Antiguo 29/01/2008, 14:20
Avatar de fmb1982
fmb1982
 
Fecha de Ingreso: junio-2007
Mensajes: 128
Antigüedad: 16 años, 11 meses
Puntos: 0
Re: Como para redirigir a una pagina...

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sistema de Capturas de Noticias CCP</title>
</head>

<body>
<?php
$fuente1=$_POST['fuente'];
$tipo1=$_POST['tipo'];
$autor1=$_POST['autor'];
$seccion1=$_POST['seccion'];
$articulo1=$_POST['articulo'];
$texto1=$_POST['texto'];
$date1=date("Ymd");

include("new_con_sql_server.php");
$sql=("INSERT INTO Sintesis_Prensa(news_fuente,news_autor,news_seccio n,news_tipo,news_art,news_texto,news_fecha)
VALUES ('".addslashes($fuente1)."', '".addslashes($autor1)."','".addslashes($seccion1) ."', '".addslashes($tipo1)."','".addslashes($articulo1) ."','".addslashes($texto1)."', '".addslashes($date1)."')");
mssql_query($sql);
mssql_close($conectID);
?>
</body>
</html>