Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/10/2003, 10:16
Matdor
 
Fecha de Ingreso: junio-2003
Mensajes: 150
Antigüedad: 20 años, 9 meses
Puntos: 0
por los links y demas de un foro

Hola miren tengo un problema y es el siguiente:
estoy haciendo un foro y he puesto un link a index.php?secc=lista?cat=1
osea te muestra una lista con los msg en la categoria uno y luego hago esto:

Código PHP:
<table width="500" border="1" cellspacing="0" align="center">
 <?
    $sql_tiee
="SELECT * FROM foro WHERE categoria='$cat'";
    
$rs_ti=mysql_query($sql_tiee)or die (mysql_error());
    
$rows=mysql_fetch_array($rs_ti);
    
?> <tr>
    <td width="450"><strong><font color="#FFCC00"> </font></strong> 
                      <table width="420" border="0" cellspacing="0" align="center">
                        <tr>
                              <td><strong><font color="#FFCC00">
                                <?  echo "<a href='index.php?secc=ver&id_not=".$rows['id']."'>".$rows['titulo']."</a>"?>
                            </font></strong></td>
                            </tr>
                      </table>
      </td>
    <td width="50"><font color="#FFCC00">
            <?  echo " ".$rows['respuestas']; ?>
            </font></strong></td>
    <td>&nbsp;</td>
  </tr><? ?>
  </table>

El problema sq solo me muestra el 1º de todos