[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 ?