textarea protection
Posted: Tue Sep 12, 2006 3:17 pm
I’m new to php and need a simple solution or have one explained in plain English, Please.
I have textareas on a page and need for the user to be able to use ' or " and another character on the keyboard without causing problems. The information is then submitted to a mysql database.
I have tried looking this up but I dont really even know what keywords i should be using. Is there some type of make safe command I use when describing the textarea or what?
Is it the addslashes command and if so where would this go?
Any help would be greatly appreciated
Thank you
Lex
I have textareas on a page and need for the user to be able to use ' or " and another character on the keyboard without causing problems. The information is then submitted to a mysql database.
I have tried looking this up but I dont really even know what keywords i should be using. Is there some type of make safe command I use when describing the textarea or what?
Is it the addslashes command and if so where would this go?
Any help would be greatly appreciated
Thank you
Lex