Java Validation and PHP SQL Query Problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
asterinex
Forum Commoner
Posts: 52
Joined: Thu Nov 25, 2004 7:01 am
Location: Belgium

Java Validation and PHP SQL Query Problem

Post by asterinex »

Hello,

I have a form with Java Validations.
Following Problem :

User signs in as a new user and chooses username. Wenn he presses the Submit button his input is being Validatet by a Java Script. Now I need to check in the database if the username he typed is Free. Can I do this in a JavaScript function . Submit -> Javavalidation -> PHP query -> Java return True or False ?

any suggestions ?

Thanks in advance !
User avatar
potsed
Forum Commoner
Posts: 50
Joined: Sat Oct 09, 2004 12:00 pm
Location: - South Africa

Post by potsed »

You could try using this type of method to grab ...
viewtopic.php?t=26674
Post Reply