![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/03/2003, 04:20
|
![Avatar de syntex](http://static.forosdelweb.com/customavatars/avatar27565_1.gif) | | | Fecha de Ingreso: noviembre-2002 Ubicación: Cataluña
Mensajes: 978
Antigüedad: 22 años, 3 meses Puntos: 4 | |
Mira Cluster,
$resultado=mysql_query("SELECT DISTINC * FROM $tabla WHERE (Categoria='$Busq' and Subcategoria='$Sub' and IdVenta='$Id')",$conexion);
He hecho lo mencionado por ti Cluster de sacar los resultados directamente desde la tabla, hasta aquí todo correcto y me funciona perfecto per me da el error en DISTINC, para sacar los resultados sin resultados iguales.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in preguntar.php on line 304 |