The doc tells:
When working on forms with "array" inputs, you may use dot notation to access the arrays:
$input = Input::get('products.0.name');
ok .. so I have this array:
array(3) { ["_token"]=> string(40) "kxIJp6UAzBhi4zwymO4MYO17KtuGQjS5EL6KLDDX" ["product_id"]=> string(1) "1" ["category_id"]=> string(2) "15" }
What is the correct syntax to access values for product_id and category_id ?? I can't figure out
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community