Welcome Guest, Not a member yet? Register   Sign In
loading a view and redirecting
#1

[eluser]AtlantixMedia[/eluser]
Hi,

in my previous procedural projects when I needed to show a message to the user (no results found, no user by that name, etc) I would send a

Code:
echo "<meta http-equiv='refresh' content='3;URL=" . $URL . "'>";

echo whatever message, and the user would be redirected to xyz page after 3 seconds. how would I implement something like this with CI? how can I incorporate a refresh after x number of seconds after I loaded a view with the relevant message?

thanks in advance


Messages In This Thread
loading a view and redirecting - by El Forum - 12-16-2007, 01:58 PM
loading a view and redirecting - by El Forum - 12-16-2007, 03:13 PM
loading a view and redirecting - by El Forum - 12-17-2007, 02:49 AM
loading a view and redirecting - by El Forum - 12-17-2007, 10:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB