Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/05/2011, 14:21
okawa
 
Fecha de Ingreso: mayo-2009
Mensajes: 69
Antigüedad: 15 años
Puntos: 0
Respuesta: Comparar string en select mysql

Cita:
Iniciado por @ndreX! Ver Mensaje
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'"
No funciona tampoco :(

Código PHP:
$query "SELECT id FROM jos_k2_categories WHERE parent=54 AND alias='$provinciacampo'";
$idprovresta doSelectSql($query,1);