Ver Mensaje Individual
  #6 (permalink)  
Antiguo 31/01/2013, 14:58
Avatar de laureano59
laureano59
 
Fecha de Ingreso: febrero-2005
Mensajes: 395
Antigüedad: 19 años, 2 meses
Puntos: 1
Respuesta: Como identificar cual botón se ha pulsado

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
__________________
http://www.weblaum.com
Laureano Melo Medina
:arriba: