mysty Posted January 11, 2008 Share Posted January 11, 2008 I have just discovered Dreamweaver's ability to use Spry, which uses javascript and Ajax, etc. I need some help with a form that sends data to a MySQL database. What I want to be able to do is have a validation-type alert if a user enters an email address and there is already that email address in the database. Is this possible with javascript, or do I have to use Ajax? I don't really know much PHP and zero javascript or ajax. Is this even possible? Might there even be a pre-made script I could use? Quote Link to comment Share on other sites More sharing options...
Cazrin Posted January 11, 2008 Share Posted January 11, 2008 Unless you used PHP to load every e-mail address in your database into a JavaScript array, you'll have to use AJAX. Having never used AJAX I can't tell you how to do it (sorry ) but I'm sure it'll be pretty straight forward. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.