I HATE Are you sure? prompts. If I wasn't sure, I wouldn't have
clicked it in the first place.
If you want to make your users happy, trust them when they say
Delete, but make it easy to undo. Instead of deleting the records,
just set the Delete flag and timestamp. Then when the odd user
you could try:
1. get all form variables into an array
2. validate values
3. convert all values into entities using htmlentities()
4. build sql query (do some tests 'til get it right)
5. execute the built query (with proper db function)
by now, commas aren't a problem, they are limited between
2 matches
Mail list logo