Tema: tab-board
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/08/2003, 09:58
joputa
 
Fecha de Ingreso: febrero-2003
Mensajes: 47
Antigüedad: 21 años, 2 meses
Puntos: 0
Cita:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
Me da ese error si cambio
Código PHP:
$result=mysql_query("SELECT * FROM tag",$link); 
por
Código PHP:
$result=mysql_query("SELECT * FROM tag ORDER BY id DESC LIMIT 0,5",$link); 
.
El codigo ahora esta asi
Código PHP:
mysql_select_db("kados",$link); 
$result=mysql_query("SELECT * FROM tag ORDER BY id DESC LIMIT 0,5",$link);
while(
$row=mysql_fetch_array($result)) 
{ ........ 
Gracias