Pessoal estou começando com php e peguei um script php e fiz algumas alterações dai ele parou de funcionar alguém ai pode min ajudar
<a href="index.html">Voltar</a>
<?php
if(file_exists("init.php")) {
require "init.php";
} else {
echo "Arquivo init.php não foi encontrado";
exit;
}
if(!function_exists("Abre_Conexao")) {
echo "Erro o arquivo init.php foi auterado, não existe a função Abre_Conexao";
exit;
}
Abre_Conexao();
$re = mysql_query("select * from cadastro");
if(mysql_errno() != 0) {
if(!isset($erros)) {
echo "Erro o arquivo init.php foi auterado, não existe $erros";
exit;
}
echo $erros[mysql_errno()];
exit;
}
?>
<table width="100%" border="1">
<tr>
<td>Ações</td>
<td>ID</td>
<td>MARCA / MODELO</td>
<td>IP</td>
<td>IP VIRTUAL</td>
<td>PONTO A</td>
<td>PONTO B</td>
</tr>
<?php
while($l = mysql_fetch_array($re)) {
$id = $l["id"];
$nome = $l["nome"];
$ip = $l["ipl"];
$ipvirtual = $l["ipvirtual"];
$pontoa = $l["pontoa"]
$pontob = $l["pontob"]);
echo "
<tr>
<td><a href=\"editar.php?id=$id\">[Editar]</a> <a href=\"excluir.php?id=$id\">[Excluir]</a></td>
<td> $nome</td>
<td> $ip</td>
<td> $ipvirtual</td>
<td> $pontoa</td>
<td> $pontob</td>
</tr>\n";
}
@mysql_close();
?>
</table>