magic quotes said hello

It went like this: We have slashes in the DB. Why, just the other day I read about this stripslashes() function. Let's see what I can do.
The rest is history, thankfully.
remove DB lookups and cleanse a little