Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/09/2010, 10:38
aprendiz88
 
Fecha de Ingreso: agosto-2010
Mensajes: 62
Antigüedad: 13 años, 9 meses
Puntos: 0
Busqueda mysql_fetch_array()

Hola nuevamente

Ahora estoy trabajando con mysql_fetch_array() pero me marca un error cuando ejecuto, dejare mi codigo haber si me puden ayudar y me corrigen

Código PHP:
    <?php
    
$v_clic_coupons
=mysql_query("select 
    `statusdeservicios`.`cabecera_cliente` AS `cabecera_cliente`,
    `comentariosstatus`.`Fecha_hora` AS `Fecha_hora`,
    `comentariosstatus`.`notas` AS `notas` 
  from 
    (`comentariosstatus` join `statusdeservicios`) 
  where 
    (`comentariosstatus`.`cabecera_cliente` = `statusdeservicios`.`cabecera_cliente`"
);
    
    while (
$registroclic mysql_fetch_array($v_clic_coupons))
     { 
    echo 
'<TD>' $registroclic['cabecera_cliente'].'</TD> ' 
    echo 
'<TD>' $registroclic['Fecha_hora'].'</TD> ' 
    echo 
'<TD>' $registroclic['notas'].'</TD>  '  
    echo 
"</TR>";
    }                    
    
?>
Me manda este error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\statusdeservicios\info_staff.php on line 71

¡Que estoy haciendo mal, alguna sugerencias
Gracias de antemano y que tengan buen dia!