Good afternoon, everyone! How do I know the number of rows in a database using the CodeIgniter 3 framework? I need to control the amount of data to be inserted, so that it does not exceed a certain limit.
Example to understand my doubt: let's suppose I want at most only 100 data in the DB. If I want to add one more, it will not be possible because it has exceeded the limit I set. Thank you in advance for helping.