![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/09/2003, 20:33
|
![Avatar de mapper](http://static.forosdelweb.com/customavatars/avatar29790_1.gif) | | | Fecha de Ingreso: enero-2003 Ubicación: Argentina
Mensajes: 321
Antigüedad: 22 años 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 -- |