I'm not sure why, but when Mac users submit forms on my site, all form field variables on the action page have a bunch of garbage characters (spaces perhaps) appended to them. This is screwing up the "unique-fieldness" of my database.
I can eliminate the problem if I use trim() on every form field, but I was wondering 2 things:
1. Why does this happen?
2. Is there an easier way to trim every form field? (rather than individually trimming each variable)
Thanks,
Marc
I can eliminate the problem if I use trim() on every form field, but I was wondering 2 things:
1. Why does this happen?
2. Is there an easier way to trim every form field? (rather than individually trimming each variable)
Thanks,
Marc