Izmantoju htmlentities, lai neļautu savā datubāze ierakstīt html vai php vai javasscript kodu u.t.t., bet izskatās, ka ēl tā man rakstot tekstu forās u postojot uz atubāzi neļauj izmantot ' (single pēiņas), bet jāizmanto ubultās ". Kā to labot?
Kas pie tā ir vainīgs?
Rāda:
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 'texts'
Esmu nūbs, palīziet, paldies.