Tema: porquee?? :(
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/10/2009, 09:05
agd
 
Fecha de Ingreso: mayo-2008
Mensajes: 98
Antigüedad: 16 años, 10 meses
Puntos: 2
porquee?? :(

hola, tengo la siguiente consulta:

Código PHP:
$selectEmail mysql_query("SELECT email FROM emails WHERE grupoid = '2' AND estado = '1' LIMIT 100");
    while(
$rowEmails mysql_fetch_array($selectEmail)){
        
$mail .= $rowEmails['email'].",";
    } 
y por algun motivo me da el siguiente error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\carpeta\final\functions.php on line 37

La tabla emails es de la siguiente manera:

id int(11)
email varchar(255)
grupoid int(11)
estado int(1)

alguna idea??
__________________
http://clanofhaunted.com