Reputation: 41
Is it possible to have something like the following but which actually works?
header('location: base_url(). page.php?x=3');
Upvotes: 4
Views: 5920
Reputation: 125
I used this for delayed redirect in header:
header('Refresh:5; url= '. base_url().'/YOURcontrollerName_or_functionName');
Upvotes: 0