CodeIgniter Forums
Empty query result failsafe - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Empty query result failsafe (/thread-6492.html)

Empty query result failsafe - El Forum - 03-01-2008

I know this is something very simple that I'm just not using the right terms when searching. I'm not extremely experienced with PHP or CI (built one simple CI app before.)

I just need a way to display a message either when a query result is empty or at the end of a foreach loop (prefered) that there are no more results that also displays when there are no results. Thanks in advance.