Código PHP:
SELECT * FROM Proveedor, Usuario WHERE (Usuario.Correo LIKE %$correo%) AND ((Nombre LIKE '%$contacto%') AND (Apellidos LIKE '%$a_contacto%') AND (Cargo LIKE '%$cargo%') AND (Lada LIKE '%$lada%') AND ((Tel1 LIKE '%$telefonos%') OR (Tel2 LIKE '%$telefonos%')) AND (Empresa LIKE '%$nombre%') AND (RFC LIKE '%$rfc%') AND (NombreDirector LIKE '%$ceo%') AND ((Direccion LIKE '%$direccion%') OR (Municipio LIKE '%$direccion%')) AND (CP LIKE '%$cp%') AND (Estado LIKE '%$estado%') AND (Constitucion LIKE '%$ano%') AND (Empleados LIKE '%$empleados%') AND (Web LIKE '%$web%') AND (Bilingue LIKE '%$bilingue%') AND (Diseno LIKE '%$diseno%') AND (Capacidad LIKE '%$capacidad%') AND (Ventas LIKE '%$ventas%') AND (Provintern LIKE '%$multi%') AND (ClientesMexico LIKE '%$mexico%') AND (ClientesExtranjero LIKE '%$extranjero%') AND (SistemaCalidad LIKE '%$h_calidad%') AND ((ISO9000 LIKE '%$c_calidad%') OR (ISO20000 LIKE '%$c_calidad%') OR (ISO14000 LIKE '%$c_calidad%') OR (OSHA LIKE '%$c_calidad%')) AND (Informacion LIKE '%$info%'))
Código PHP:
while($row = mysql_fetch_array($consulta))