![]() |
Redirect after database insertion - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Redirect after database insertion (/showthread.php?tid=38558) |
Redirect after database insertion - El Forum - 02-11-2011 [eluser]Unknown[/eluser] I have a form where the user inputs the necessary fields to be inserted to a table in the database. My aim is to redirect the user to another page after insertion. Unfortunately, it is not working. I am inserting by calling a function of the model of that table, and after the tuple has been inserted, the page becomes white. Any ideas? Should i post my code? Redirect after database insertion - El Forum - 02-11-2011 [eluser]Unknown[/eluser] False alarm. I finally made it to work, but i have to remove a statement after the insertion that uses the data array to be inserted. Maybe I should store it to an another variable first. Sorry for the post. |