CodeIgniter Forums
Find - IfFound - IfNotFound in CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Find - IfFound - IfNotFound in CodeIgniter (/showthread.php?tid=74237)

Pages: 1 2


RE: Find - IfFound - IfNotFound in CodeIgniter - christaliise - 09-18-2019

(09-16-2019, 07:20 AM)christaliise Wrote:
(09-14-2019, 03:30 AM)Wouter60 Wrote: Exit ends your php script.
Use break to jump out of a for each loop.

I have everything working simply by rearranging the file paths and without looping or functions and at the end I had to insert the following.

PHP Code:
if(isset($_POST['submit'])) redirect(BASE_URL.'home'); 

But that nullifies the form validation. How do I overcome that?

I'll start another topic.