delucaspinto

[PHP] SELECT MULTIPLE VALUES

May 13th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. //HTML
  2. <select name="estados[]" id="estados" class="selectpicker" multiple data-live-search="true" multiple>
  3.  
  4. //CONTROLLER
  5. $estados = array(Input::get('estados'));
  6. print_r($estados);
Advertisement
Add Comment
Please, Sign In to add comment