I have the following code:
In my view:
{{Form::open()}}
{{Form::hidden ('hiddentitle', 'title info')}}
{{Form::close()}}
In my controller:
class PController extends BaseController {
public function user(){
$hiddentitle = Input::get('hiddentitle');
dd($hiddentitle); //I get NULL values
return View::make('person.user');
}
}
Can anyone explain why I get NULL values for $hiddentitle? I know this seems very simple but it's a big problem. Thanks
$hiddentitlewhich is strange hmm