Welcome Guest, Not a member yet? Register   Sign In
redirection problem
#1

[eluser]quest13[/eluser]
Can anyone tell me how to redirect to the function that has argument ?

I want to redirect after inserting in table like this,

function Addproperty($propertyid){
.....
....code here
}


function insert(){

$data=....To model-->function Addinsert
If($data)>0{

redirect('/Addproperty/'.$propid,'refresh');

}
}

Neither it is redirected nor it refreshes. I am getting header information error.

I tried this also


redirect('/Addproperty/'.$propid,''); , but no use.


Any suggestions ?


Messages In This Thread
redirection problem - by El Forum - 06-19-2009, 12:51 AM
redirection problem - by El Forum - 06-19-2009, 01:07 AM
redirection problem - by El Forum - 06-19-2009, 01:24 AM
redirection problem - by El Forum - 06-19-2009, 06:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB