Solo los nombres de cada foto.
 
Pero ya pude resolverlo con GET 
Gracias por todas sus ideas   
Aquí esta la solución:  
 Código PHP:
   
<table border="1">
  <tr>
    <td>FOTO INMUEBLE</td>
    <td>Eliminar Foto</td>
  </tr>
  <?php do { ?>
    <tr>
      <td><img src="tmp/<?php echo $row_consulta2['IMAGEN_INM']; ?>" /></td>
      <td>
      <a href="prueba.php?variable=<?php echo $row_consulta2['IMAGEN_INM']; ?>">Eliminar Foto</a>
      </td>
    </tr>
    
    <?php 
    
    } 
    
    while ($row_consulta2 = mysql_fetch_assoc($consulta2)); ?>
</table>
 
<?php
if ( $_GET['variable']) 
{ 
 
echo $_GET['variable'];
 
//ahora si se borra con el dato que contiene variable
 
}  
?>    
  Dios les bendiga