Reformat your code man. Nobody should try read that mess. I'm not trying to be mean, I will be happy to help, but I'm not spending my morning counting peoples curly braces.
Sorry Man, this is my code
for my controller
$array = array(Input::all());
for ($i = 0; $i < count(array('$Input::all()')); $i++)
{
$values = new question;
$values->core_values = $core_values[$i];
$values->behavioral = $behavioral[$i];
$values->rating = $rating[$i];
$values->save();
Session::flash('message', 'Added!');
return Redirect::to('evaluation');
}
and this is my form
{{ Form::text('core_values[]', Input::old('core_values[]')
{{ Form::textarea('behavioral[]', Input::old('behavioral[]')
{{ Form::text('rating[]', Input::old('rating[]'), array('placeholder' => 'Percentage'))
HOPE this the ryt sir.. Sorry Help Me sir. Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community