Laravel Input:get() not working

后端 未结 1 1585
一整个雨季
一整个雨季 2021-01-26 01:12

I\'m trying to work on a post function in Laravel 4. My form has a number of fields that on submitting, goes to the post function in the controller.

The problem is, the

1条回答
  •  南笙
    南笙 (楼主)
    2021-01-26 01:31

    Spaces in name were converted to dash. In your case, try:

    Input::get('Type_1');

    0 讨论(0)
提交回复
热议问题