SELECT man.name as brand, scales.model, scales.id,scales.img,scales.price from man,scales,relate WHERE relate.scale_ID1 = 710.html AND scale_ID2 = scales.id AND scales.man = man.id [nativecode=1064 ** 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 'html AND scale_ID2 = scales.id AND scales.man = man.id' at line]DB Error: syntax error