Hmm... I don't see where print_error() is called. Maybe one of the fields is missing for some reason but you don't know about it because the error is never echoed.
You should do something like the following...
code:
foreach($errors as $error) {
print_error($error);
}
quote:
Originally posted by k776
As for the slashes, how can I tell if I have magic quotes enabled??
http://php.net/get_magic_quotes_gpc
There's some nice examples there that show how to detect and handle magic quotes.