Welcome Guest, Not a member yet? Register   Sign In
pass the data using redirect
#1

[eluser]alberta[/eluser]
Is there any way to redirect with passing some data ?

Code:
$data['results']='Your search did not return any results.';
$data['value']='some value';
redirect($pieces[1], '$data');

Is this possible or not, if not then what is alternative ??

em stuck at this problem.. any help would be appreciated
thanks
#2

[eluser]Dam1an[/eluser]
Do you definatly need a redirect? Or could you just call another function locally?
If you do need the redirect, then you'd probably need to set the data as flashdata using the session class




Theme © iAndrew 2016 - Forum software by © MyBB