Tema: Mysql select
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/11/2008, 00:35
cgm-util
 
Fecha de Ingreso: septiembre-2006
Ubicación: Torrevieja (Alicante)
Mensajes: 59
Antigüedad: 18 años, 5 meses
Puntos: 1
Respuesta: Mysql select

Perdonar he puesto lo siguiente y me ha funcionado:

$sql = "SELECT *, MATCH(profesion) AGAINST('$prof') FROM trabajadores WHERE MATCH (profesion) AGAINST ('%$prof%') and YEAR(nacimiento) > '$anos4' and YEAR(nacimiento) < '$anos3' and conducir LIKE '$cond' and idioma1 LIKE '$espanol' and idioma2 LIKE '$ingles' and idioma3 LIKE '$terceridioma'";
$result = mysql_query($sql);