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!
hi friends am very confuse how am validate the fields in html. how can i know user was enter the correct name as corect string format and the ph no was numeric. plz send the corect php validation. am new to php.
Kalidass wrote:hi friends am very confuse how am validate the fields in html. how can i know user was enter the correct name as corect string format and the ph no was numeric. plz send the corect php validation. am new to php.
You can use the PHP filter functions to validate the data is what you want.
If you want to validate that the data is actually correct (user exists, for example) you'll need to run a check against your master data (in whatever form that's in)