Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/09/2003, 20:33
Avatar de mapper
mapper
 
Fecha de Ingreso: enero-2003
Ubicación: Argentina
Mensajes: 321
Antigüedad: 21 años, 3 meses
Puntos: 1
desde php un error en sql

Tengo un error en rand() pero ese rand tiene que estar alli para que no recoja siempre los mismos resultados


$query_gpc = sprintf("SELECT * FROM intercambio_urls WHERE categoria = '%s' AND validado = 'v' ORDER BY estrellas DESC, id rand()", $colname_gpc);
__________________
-- May The Force Be With You --