Jump to content

Validating Text inputs


MemphiS

Recommended Posts

I have a forum which i made and i wish to check the input to stop any SQL injections being made. IN the db i have the column set to TEXT. How can i make sure that what the user inputs is safe... i know i could ereg or ctype it but if i write the text then press enter it doesnt allow it. Without the enter it works fine but with a enter space it doesnt...

 

Link to comment
https://forums.phpfreaks.com/topic/61217-validating-text-inputs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.