PHP beginners tutorial 51 - simple form validation part 3

preview_player
Показать описание
In this tutorial I finish up the basic form validation mini-series. This is part 3 of 3.

.
Follow me on Facebook:

Follow me on Twitter:

Don't forget to subscribe:

Donate on PayPal:

xclick&hosted_button_id=DM496T7CTUYAS Donate on PayPal:
Рекомендации по теме
Комментарии
Автор

nice !
it s very helpfull nd simple to learning
tnx

nasytech
Автор

This would be a most infuriating form to fill in because you lose the data each time.

dr_ned_flanders
Автор

Hey man, it's cool you're doing this but you have a problem in your code.
If the user makes 2 mistakes, e.g fill in a long username and the info is too long, he'll only get one error which is the 1st one (in this example the username error).
Thanks

mroos
Автор

If both of the input of 'username and password are too long' or 'username, password and info' too long, how can i echo out all of that? do i need to add new "elseif" statement? :)

syahmifauzi
Автор

wouldn't you want to check if password too short? Because a long password is a happy password.

AkacoProgramming