Ver Mensaje Individual
  #16 (permalink)  
Antiguo 28/01/2010, 08:43
urameshix
 
Fecha de Ingreso: octubre-2005
Mensajes: 240
Antigüedad: 18 años, 7 meses
Puntos: 1
Respuesta: Duda en una consulta

Código PHP:
$criterio "SELECT * FROM bd.contratos WHERE cif = '$id' AND ";
$criterio .= "(idcontrato LIKE '%$txt_criterio%' OR cif LIKE '%$txt_criterio%' OR idservicio LIKE '%$txt_criterio%' OR fAlta LIKE '%$txt_criterio%' OR fBaja LIKE '%$txt_criterio%' OR Horas LIKE '%$txt_criterio%')"