Forum Moderators: coopster
is addslashes() sufficient?
Depends what you want to do with the data.
if your just sticking it into a database then yeah, addslashes should be fine.
If your displaying it again later then you might also want to consider the htmlspecialchars function.