Código PHP:
  
<html>
<head>
   <title>Ejemplo de PHP</title>
</head>
<body>
<?php
   include("conec.php");
   $link=Conectarse();
   $result=mysql_query("select * from posteo",$link);
?>
    <TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1>
      <TR>
         <TD> IDPOSTEO </TD>
         <TD> PALPOSTEO </TD>
         <TD> TAMPOSTEO </TD>
         <TD> Borra </TD>
      </TR>
<?php
   while($row = mysql_fetch_array($result)) {
        printf("<tr><td>  %s  </td><td>  %s  </td><td>  %s  </td></td><td> <a href=\"borra.php?ID=%ID\"> Borra </a></td></tr>", $row["IDPOSTEO"], $row["PALPOSTEO"], $row["TAMPOSTEO"], $row["IDPOSTEO"]);
   }
   mysql_free_result($result);
?>
</table>
</body>
</html>   Código PHP:
   <?php
   include("conec.php");
   $link=Conectarse();
   
   $query="delete from posteo where IDPOSTEO='".$_POST["IDPOSTEO"]."'";
   
   mysql_query($query,$link);
  
   //header("Location: eliminareg.php");
?>    alguien me podría echar una manito, indudablemente estoy haciendo algo mal, pero no se q
saludos
q tengan un buen dia.
 
 



