Error description: 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 '' at line 3SELECT mcod_fil.mcod_desc,users.image_profile,name,lastname FROM `users`,mcod_fil where mcod_fil.mcod_codty = 'user_type' and mcod_fil.mcod_code = users.user_type and users.id =