$IdNoticias=$_GET["IdNoticias"];
function error_message($msg) {
echo "";
exit;
}
require("../conexio/globals.php") ;
$debe = mysql_connect("$hostName","$userName","$try");
mysql_select_db("$databaseName",$debe);
$result=mysql_query("SELECT * FROM noticias WHERE IdNoticias='$IdNoticias'");
$row=mysql_fetch_array($result);
if(!$row) error_message('error de sistema!');
?>
|