In Form::open(), please add 'url'=>action('GameController@results')
If you were not set it, it will be return to GameController@index method
The code should be:
{{ Form::open(array('method' =>'GET','url'=>action('GameController@results'))) }}
@tantam Thanks sir. Made the correctoin. Only question is, what do I have to have in my views to return results from my query? Also how do I assign "name" value in the form opener to pull from certain columns in the dB? Thanks.
@tantam Thanks sir. Made the correction. Only question is, what do I have to have in my views to return results from my query? Also how do I assign "name" value in the form opener to pull from certain columns in the dB? Thanks.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community