username validation using codeigniter

By | May 23, 2014

Here 2 validations are added first one is if user not entering any values it will alert message.second is if user enter ‘mydoubts.in’ in the username field it will throw alert message.

stept1:create view file inside the application/views-uservalidationpage.php

uservalidationpage.php

step2: create a controller inside the application/controllers/usernamevalidation.php

usernamevalidation.php