Controller
public function codingPuzzleProcess()
{
$word = Input::get('word');
$length = strlen($word);
return Redirect::to('/coding-puzzle')
->with('word', $word )
->with('length', $length )
->with('success','Your word was submit succesfully!');
}
View
I tried to access those data in my blade view like this
{!!$word or '' !!} | {!!$length or '' !!}
and I'm not sure why I got nothing printing. I'm sure that my
$word = 'love' with length of 4
Any hints / suggestion on this will be much appreciated !
GETorPOSTrequest?