I have a form that submits some data to a database Databse::create($input);
. I want to edit the input
variable that contains a string with the submitted data from the form content.
I need to make this happen in the controller
.
public function store()
{
$input = Request::all();
Databse::create($input);
}