include_once 'conexao.php';
$busca = isset($_GET['noticia_id']) ? $_GET['noticia_id'] : '';
$sql = "
select *
from noticias
where id = '$busca'";
$tabela = mysql_query($sql) or dir (mysql_error());
if (mysql_num_rows ($tabela) == 0 ) {
header ('Location: lista_noticia.php');
}
$linha = mysql_fetch_assoc($tabela);
?>
:::::::::::::::::::::::::::::CÉLULAS::::::::::::::::::::::::::::::::::::::::::::::::
| |
©
2003 / 2005 CENA - Os direitos autorais desta página são
protegidos
pela Lei 9.610 de 18.02.2000 |
|