And here are some server-side validation resources:
Server-Side Form Validation by Dianna Leech - 12/1/1999
http://www.4guysfromrolla.com/webtech/120199-1.shtml
An Email Validation Routine by Joćo Vieira - 4/11/1999
http://www.4guysfromrolla.com/webtech/041199-1.shtml
Somewhat shorter.
An Email Validation Script by Ben Durbin - 5/19/1999
http://www.4guysfromrolla.com/webtech/051999-1.shtml
Longer.
Form Handler: Some light form validation and error notification.
http://www.asp101.com/samples/form_handler.asp
Uses function to loop thru all fields in a form.
Also shows Response.Write using double double quotes:
Response.Write "<IMG SRC=""../images/check.gif"" BORDER=""0"" WIDTH=""25"" HEIGHT=""25"">"
ASP/Jscript Email Validation - 5/28/1999
http://www.4guysfromrolla.com/webtech/052899-1.shtml
Uses JavaScript run at the server.
Form to DB: Insert records retrieved from a form into a database
http://www.asp101.com/samples/form_to_db.asp