View Single Post
Old January 4th, 2005, 02:03 PM
leno leno is offline
Registered User
Join Date: Jan 2005
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Validating submitted data

On my website, I got a script with which users can react on certain things. They also have to include their e-mail adresses. Because a lot of visitors do not put in a valid e-mail address, or nothing at all, I want to validate it with JavaScript before it is stored in my SQL database using PHP. But, when you submit data from a form, you can't read it with Javascript, neither can you make variables which can be read by PHP. How can this be solved?