Cita:
Iniciado por oscartt67
$sql = "SELECT * FROM proyecto WHERE "+$where; mal!!!
$sql = "SELECT * FROM proyecto WHERE $where"; bien!!!

Si exactamente probe eso! pero me siguió dando un error de:
Código HTML:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '% or concat(integrante1,integrante2,integrante3,intgrante4,integrante5) like '%2' at line 1
Que raro? no entiendo el error.