Laravel Form Class Submit Value as Part of Array -


When using the form helper class with Laravel / Blade, then $ name is a way of formatting the value When the data has been retrieved, is it organized as an array?

For example, in the view file, I want to do something like this:

  {{form :: input ('params .atename')}} {{form :: input ('params.siteurl')}}  

and then in the controller, when I call:

  $ data = input :: Mill ('Params'); $ Data return:  
  array ('params' = & gt; array (' sitename '= & gt; user data input', 'cyclical' = & gt; more data from user Input);)  

good ol 'Php way:

  {{form :: input ('params [sitename]'}}} {{form :: input ('params [siteurl]')}}} input :: find ('param'); // array // 'sitename' = & gt; 'value-1', // 'second' = & gt; 'value-2' //)  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -