I'm using Laravel 5 and I'm trying to get a value from my posted form. This works fine for normal form input names, like:
$request->input('stripeToken')
However if the input name is a array like name="order['amount']"
then I cant get the value. I've tried with:
$request->input( "order['return_url']" )
How do I access this value?
Use dot notation:
$value = $request->input('order.return_url');