IvanRadojevic
2 months ago
199
2
Laravel

Request value array

Posted 2 months ago by IvanRadojevic

How to accept request value array:


"value" => array:2 [
    0 => "2020-07-27"
    1 => "2020-07-28"
  ]

I try this:

'start' => request('value[0]'),
'end' => request('value[1]'),

Please sign in or create an account to participate in this conversation.