Welcome Guest, Not a member yet? Register   Sign In
Show data on page after page refresh
#2

[eluser]John_Betong[/eluser]
 
I have recently written some code for a similar problem. My approach was to use the _SERVER['LAST_REQUEST'] and/or store $_SESSION['last_page'] = $this->uri->uri_string(). After your delete code has finished then call redirect($_SESSION['last_page']); which will re-build the page without the deleted items.
 
 
To see what else is available use this code:
Code:
echo '<pre>';
     print_r($_SERVER);
   echo '</pre>';
&nbsp;
&nbsp;
&nbsp;
edit: spelling and added print_r(...)


Messages In This Thread
Show data on page after page refresh - by El Forum - 10-05-2009, 05:31 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 07:57 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:21 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:50 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:56 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 08:56 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 09:09 PM
Show data on page after page refresh - by El Forum - 10-05-2009, 09:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB