How to implement validations in codeigniter?



How to implement validations in codeigniter?..

Answer / Mohd Shahnawaz Qureshi

Validations can be implemented using the Form Validation Class. You need to load this class in your controller, set validation rules, and run the validation function before saving data to the database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CodeIgniter Interview Questions

Mention what is the default url pattern used in codeigniter framework?

1 Answers  


What is constructor in codeigniter?

1 Answers  


How can you load multiple helper files?

1 Answers  


What is view codeigniter?

1 Answers  


How to unset session in codeigniter?

1 Answers  


How to truncate table with query in codelgniter?

1 Answers  


In which directory logs are saved in codeigniter?

1 Answers  


What is library in codeigniter?

1 Answers  


Explain the remapping method calls in codeigniter.

1 Answers  


What is route in codeigniter?

1 Answers  


What is load in codeigniter?

1 Answers  


How do I do a count('foo') using the active record functions?

1 Answers  


Categories