> as a general rule of thumb, try to do as much > checking as you can with > JavaScript. For those checks such as "is the field a valid > date", "is > the field numeric" and so on, it is much faster to check on > the client, > than to send the data back to the server and check it there.
Except, of course, that you need to check it AGAIN in your php script in case the browser has javascript disabled - because if it's disabled you'll end up with unchecked form data. CYA, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php