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
textarea protection
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
mysql_real_escape_string().. we have many threads of example usage laying around.
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland