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 '.titulo from Productos,yesos millan where Productos.id=yesos millan.yesos millan' at line 1