Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/05/2010, 00:32
rpv
 
Fecha de Ingreso: febrero-2010
Mensajes: 275
Antigüedad: 14 años, 2 meses
Puntos: 10
Respuesta: ayuda select where <=

Código PHP:
Ver original
  1. $sql=mysql_query("SELECT * FROM server WHERE sms_max<100 ORDER BY RAND() LIMIT 1") or die(mysql_error());
  2. $row=mysql_fetch_array($sql);
  3. echo $row['name'];