Hey everyone,
I am currently building a module that makes possible to comment a news and as you probably understood, I will need to insert this new comment in my web database.
I know this stuff can be very fastidous so I would like to know if someone has a method which could assure the integrity of the request by checking some of the usual important stuff liek :
- trimming the string
- encoding it ?
- escaping it ?
- and so on ...
If you have some tips to achieve a good insert, do not hesitate ;)
Thank you for your time,
Gotye.