View Full Version : Checking value of input against MySQL database?

03-21-2011, 03:39 AM
So, I figured out how to check the value of something submitted in a form against that of info in a MySQL database (a users desired username to the ones already in the database). But, the only problem is that it's in a simple PHP script. Can I possibly have the script be loaded via javascript whenever someone changes the username field? Also, how can I have the results displayed in another div tag?;-)