Thats perfect! Thanks and I assume for form variables I would use:
while($element = each($_POST))
?
And another question, how would I put the value back in its original name..
like once it has stripped the tags off variable1 and variable2, i want the info back in the appropriate variables instead of the array.. would I have to use the evaulate funtion to turn the array location into a varibable and make it equal to the array value?