Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/05/2011, 14:19
Avatar de @ndreX!
@ndreX!
 
Fecha de Ingreso: abril-2007
Mensajes: 161
Antigüedad: 17 años
Puntos: 4
Respuesta: Comparar string en select mysql

Prueba modificando el segundo query, así:

Código PHP:
/* OBTENEMOS LOS IDS DE LAS CATEGORIAS PRINCIPALES */

$query "SELECT id FROM jos_k2_categories WHERE parent=54 AND alias='$provinciacampo'"
__________________
Blog de Andres Ortiz: http://www.axpuntes.com/