How does laravel receive and save a set of checkpoints to the database?

Source: Internet
Author: User
Laravel5.2 is in use. I know how to receive text, email, select, radio, textarea, and save them to the database, but I don't know how to receive and save a set of checkpoints to the database. For example, in the following example: {code ...} laravel 5.2 is in use. I know how to receive text, email, select, radio, textarea, and save them to the database, but I don't know how to receive and save a set of checkpoints to the database.
For example:

        {!! Form::open(array('url' => 'foo/bar')) !!}          
          
   Email address        
           
   We'll never share your email with anyone else.      
        
          
   Password        
         
        
          
   Example select        
             1          2          3          4          5              
        
          
   Example multiple select        
             1          2          3          4          5              
        
          
   Example textarea        
         
        
          
   File input        
           
   This is some placeholder block-level help text for the above input. It's a bit lighter and easily wraps to a new line.      
        

Option one is this and that—be sure to include why it's great

Option two can be something else and selecting it will deselect option one

Option three is disabled

1 2 3

Submit {!! Form::close() !!}

Reply content:

Laravel 5.2 is in use. I know how to receive text, email, select, radio, textarea, and save them to the database, but I don't know how to receive and save a set of checkpoints to the database.
For example:

        {!! Form::open(array('url' => 'foo/bar')) !!}          
          
   Email address        
           
   We'll never share your email with anyone else.      
        
          
   Password        
         
        
          
   Example select        
             1          2          3          4          5              
        
          
   Example multiple select        
             1          2          3          4          5              
        
          
   Example textarea        
         
        
          
   File input        
           
   This is some placeholder block-level help text for the above input. It's a bit lighter and easily wraps to a new line.      
        

Option one is this and that—be sure to include why it's great

Option two can be something else and selecting it will deselect option one

Option three is disabled

1 2 3

Submit {!! Form::close() !!}

Use name = check []
This receives an array.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.