Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/08/2005, 15:53
Avatar de maralbust
maralbust
 
Fecha de Ingreso: febrero-2004
Ubicación: Santiago
Mensajes: 578
Antigüedad: 20 años, 2 meses
Puntos: 0
fetch_array no quiere

hola a todos, estoy intentando hacer un buscador por las mias, pero como la haga siempre me arroja el mismo error al momento de hacer el array


Código PHP:
$query mysql_query("SELECT * FROM url WHERE $metode LIKE '%$search%' LIMIT 0, 30");
[
COLOR=Red]while ($row  =  mysql_fetch_array($query))[/COLOR]
   {
        
$variable1=$row[url]; 
y me dice

[cita]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\archivos de programa\easyphp1-8\www\aeroservicio\result.php3 on line 16[/cita]


que puedo estar haciendo mal?


saludos
__________________
..:: NADA SE PIERDE SOLO SE TRANSFORMA ::..

Última edición por maralbust; 22/08/2005 a las 16:09