Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/09/2011, 09:04
Avatar de ramiro_md
ramiro_md
 
Fecha de Ingreso: septiembre-2008
Mensajes: 274
Antigüedad: 15 años, 7 meses
Puntos: 26
Respuesta: problemas al ejecutar consultas

Probá:
Código SQL:
Ver original
  1. "select * from w_temas where w_temas.tid = '{$this->settings['tema_id']}' limit 1"
Aunque yo haría:
Código PHP:
Ver original
  1. $valor = "{$this->setting['tema_id']}"
Y luego:
Código SQL:
Ver original
  1. "select * from w_temas where w_temas.tid = '$valor' limit 1"