Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/06/2009, 15:24
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años
Puntos: 1517
Respuesta: Ayuda! Generar link a un texto obtenido en forma dinamica

Código PHP:
<?php
$consulta
="SELECT tipo_id, tipo_nombre FROM tipo";
$resultado=mysql_query($consulta);

while (
$fila2=mysql_fetch_array($resultado)){
?>
<table width="200" border="0">
  <tr>
    <th scope="col" width="70"><a href="productos.php?tipo_id=<?php echo ($fila2['tipo_id']); ?>">producto <?php echo ($fila2['tipo_id']); ?></a> </th>
  </tr>
</table>
<?php 
}
?>