Ver Mensaje Individual
  #16 (permalink)  
Antiguo 07/11/2003, 06:28
Jorka
 
Fecha de Ingreso: octubre-2003
Mensajes: 10
Antigüedad: 20 años, 6 meses
Puntos: 0
He modificado el where para dejarlo así:
Código PHP:
 //inicializo el criterio y recibo cualquier cadena que se desee buscar
        
$criterio "";
        if (
$_GET["criterio"]!=""){
    
$txt_criterio $_GET["criterio"];
    
$criterio =" WHERE 1 AND `soporte` like '"  $txt_criterio "'"
Ejecuto http://localhost/busqueda.php?criterio=g y obtengo el resultado deseado, pero resulta decepcionante que no se puedan hacer sintaxis más complejas.