samedi 2 juin 2018

Laravel redirect back with variables

Trying to redirect to the previous page with variables

$get_product = Product::where('name',$request->name)->first();
return redirect()->back()->with('get_product',$get_product);

but i have this error when i print variable



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire