> I have a textarea field that will allow users to copy
> and paste text into , it might be plain text, or it
> might come out of word. 
> I'm wondering what type of validations I should
> perform on this field ?
> 
> Any suggestions / ideas ?

Hi Stuart,

Check out the strip_tags and mysql_escape_string commands.  They allow you
to filter misc. code that might be imbedded in the data and also prepare the
data for insertion into the database (if you're going to store it).

Ed Lazor, President
http://RPGStore.com
Up to 50% off.  Over 20,000 items in stock 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to