Probe tal como me decis y emite lo mismo FALSE
Yo utilizo en un query de consulta con do_query y funciona, por ejemplo:
Código PHP:
$clientes = do_query("SELECT *
FROM sistema
WHERE id LIKE '%$_GET[id]%'
AND estado LIKE '%$_GET[estado]%'
AND tipodeoperacion LIKE '%$_GET[tipodeoperacion]%'
AND tipoinmueble LIKE '%$_GET[tipoinmueble]%'
AND ambientes LIKE '%$_GET[ambientes]%'
AND aestrenar LIKE '%$_GET[aestrenar]%'
AND barrio LIKE '%$_GET[barrio]%'
AND aptoprofesional LIKE '%$_GET[aptoprofesional]%'
AND usocomercial LIKE '%$_GET[usocomercial]%'
AND calle LIKE '%$_GET[Calle]%'
AND cliente LIKE '%$_GET[Cliente]%'
AND telefonodecontactocliente LIKE '%$_GET[Telefono_Cliente]%'
AND precio LIKE '%$_GET[Precio]%'
AND antiguedad LIKE '%$_GET[Antiguedad]%'
AND orientacion LIKE '%$_GET[Orientacion]%'
AND expensas LIKE '%$_GET[Expensas]%'
AND descripcion LIKE '%$_GET[Descripcion]%'
LIMIT $inicio, $registros");
Haciendole var_dump a $clientes me devuelve un array.- En el caso de select max debería devolverme lo mismo, un array con el numero maximo verdad?
Gracias