Comunidad de diseño web y desarrollo en internet online

Error con

Citar            
MensajeEscrito el 19 Oct 2005 10:40 pm
Hola, me acabo de mudar de servidor y ahora en el siguiente codigo, me marca error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/morelosp/public_html/labs/preguntas/pregunta.php on line 52

El codigo es el siguiente:

Código :

//declaramos que solo es por si existe la variable de calificacion llena
if(!empty($calificacion)) {
   $prim = "SELECT qualification FROM questions WHERE id='$qw'"; 
   $sec = mysql_query($prim,$enlace); 
   while($cll = mysql_fetch_array($sec)){ 
      $antes = $cll['qualification'];
   }


Salu2 y gracias por su atencion.

Por vertigo

Claber

106 de clabLevel



 

Cuernavaca. Morelos-México

msie
Citar            
MensajeEscrito el 20 Oct 2005 02:31 am
Solucionado.

Gracias a todos los que leyeron.

Por vertigo

Claber

106 de clabLevel



 

Cuernavaca. Morelos-México

msie
Citar            
MensajeEscrito el 20 Oct 2005 05:25 pm
lee las reglas del foro, y evita colocar esa clase de titulos

Por jhony192

791 de clabLevel

1 tutorial

Genero:Masculino  

Just Another Programmer

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.