return with multiple data |
Hi,
Is it possible to use return ->with() multiple data. For example I want to return a reference to the language file AND return a new variable ($data['mydata']). I have tried, the following and combination thereof (with error), so I'm wondering if this can be done? PHP Code: return redirect()->back()->withInput()->with('success', lang('myfile.mytext'))->with($data['mydata']); All help is greatly appreciated |
Welcome Guest, Not a member yet? Register Sign In |