Ver Mensaje Individual
  #20 (permalink)  
Antiguo 03/12/2007, 15:28
marcodoming
 
Fecha de Ingreso: noviembre-2007
Mensajes: 18
Antigüedad: 16 años, 5 meses
Puntos: 0
Re: problema con seleccionar id

este es el código donde tengo insertada el enlace para que haga la elección del id, no se si será el error aqui
<?php
$conexion = mysql_connect('', '', '');
mysql_select_db('');
$tabla = mysql_query('SELECT * FROM propiedades');
while ($registro = mysql_fetch_array($tabla)){
?>
<tr>
<td></a><img src="<?php echo $registro['foto1'];?>" border="0" width="100"/></td>
<td><?php echo $registro['ciudad'];?></td>
<td><?php echo $registro['descripcion'];?></td>
<td><?php echo $registro['precio'];?></td>
<td><a href="ficha.php?id=<?php echo $id;?>">Ver producto</a><span class="Estilo15"></td>
</tr>
<?php
}
mysql_free_result($tabla);
mysql_close($conexion);
?>