How to know if there is a record in the database using codeignaiter 3 |
Depending on how advanced of a function you need you can use the built in function is_unique in form validation.
https://www.codeigniter.com/userguide3/l...ding-rules If you require more checks you need to write your own callback function and look for it yourself in the database: https://www.codeigniter.com/userguide3/l...-as-a-rule |
Messages In This Thread |
How to know if there is a record in the database using codeignaiter 3 - by Branyes - 01-04-2019, 08:50 AM
RE: How to know if there is a record in the database using codeignaiter 3 - by jreklund - 01-04-2019, 09:55 AM
RE: How to know if there is a record in the database using codeignaiter 3 - by Wouter60 - 01-04-2019, 12:37 PM
|