I want to send a value to route that i am received from the controller.!How can i do it.
My controller:
public function payment_history($id)
{
$payment_details=AmountDrvPaidHistoryModel::where('driver_id',$id)->get();
return view('admin.driver_payment_history')->with('payment_details',$payment_details)->with(array('id'=>$id));
}
Here is my blade:
<form action="" method="post">
How can i get the value of id in action tag that is send to another route.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire