我有 ReportController 索引,它仅作为 POST 路由
public function index() // must have start, end, client
{
$start = Input::get('start'); // <<< This are POST variables
$end = Input::get('end'); // <<< This are POST variables
$client = Input::get('client'); This are POST variables
db request... output view..
}
当我单击“删除行”时,它会将信息发布到
public function deleteRow()
{
db request -> delete();
//How do I go back to index controller and pass same $_POST['start'],$_POST['end'],$_POST['client']
}
如何返回索引控制器并传递相同的 $_POST['start'],$_POST['end'],$_POST['client']?