APAGAR
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<link rel="stylesheet" href="../css.css" type="text/css" >
<head>
<title>cadastrar</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<html>
<link rel="stylesheet" href="../css.css" type="text/css" >
<head>
<title>cadastrar</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h3>Visualizando os Paises</h3>
<table cellspacing="0" cellpadding="0">
<tr id="top">
<td>Nome:</td>
<td colspan="2">Abreviatura:</td>
</tr>
<?
include"conect.php";
$y = mysql_query("SELECT * FROM pais");
while($x = mysql_fetch_array($y)){
echo'
<tr>
<td width="314">'.$x['nome_pais'].'</td>
<td width="314">'.$x['cod_pais'].'</td>
<td width="314" align="right">
<font color="#FF0000" size="2" face="verdana">
<a href="excluir.php?id='.$x[id_pais].'">Deletar</a>
</td>
</tr>
';
}
?>
</table>
Comentários
Postar um comentário