Código PHP:
<?php
$fuente1=$_POST['fuente'];
$tipo1=$_POST['tipo'];
$articulo1=date("articulo");
$date1=date("Ymd");
include("con_sql_server.php");
$sql=("INSERT INTO Sintesis_Prensa(news_fuente,news_tipo,news_texto,news_fecha)
VALUES ('".addslashes($fuente1)."', '".addslashes($tipo1)."','".addslashes($articulo1)."', '".addslashes($date1)."')");
mssql_close($conectID);
mssql_query($sql);
?>
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 200.67.246.121,sa,sa in C:\Documents and Settings\user\Escritorio\xampplite\htdocs\con_sql_ server.php on line 14
Warning: mssql_select_db() [function.mssql-select-db]: Unable to connect to server: (null) in C:\Documents and Settings\user\Escritorio\xampplite\htdocs\con_sql_ server.php on line 15
Warning: mssql_select_db() [function.mssql-select-db]: A link to the server could not be established in C:\Documents and Settings\user\Escritorio\xampplite\htdocs\con_sql_ server.php on line 15
Warning: mssql_close(): supplied argument is not a valid MS SQL-Link resource in C:\Documents and Settings\user\Escritorio\xampplite\htdocs\guardar_ prensa.php on line 18
Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in C:\Documents and Settings\user\Escritorio\xampplite\htdocs\guardar_ prensa.php on line 19
Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in C:\Documents and Settings\user\Escritorio\xampplite\htdocs\guardar_ prensa.php on line 19