Ver Mensaje Individual
  #5 (permalink)  
Antiguo 05/11/2008, 10:25
Avatar de eall
eall
 
Fecha de Ingreso: noviembre-2008
Ubicación: Concepcion
Mensajes: 127
Antigüedad: 17 años, 11 meses
Puntos: 8
De acuerdo Respuesta: Problema con divirdir cadena

se me ocurre algo como
Código PHP:
<?
$Query 
= "select * from tabla
where campo1=3
having condicion
order by(i_tabla)"
;

$Consulta = str_replace("where", "", strstr($Query, "where")); 

?>
Espero resulte, no lo he probado.