merhaba, anasayfada şu şekilde bir formum var
{{ Form::open(['action' => 'TestController@test', 'method' => 'GET']) }}
{{ Form::text('one', '', ['id' => 't1', 'placeholder' => 'test']) }}
{{ Form::text('two', '', ['id' => 't2', 'placeholder' => 'test']) }}
{{ Form::submit('GO', array('class' => 'compare-button')) }}
{{ Form::close() }}
istediğim anasayfadaki bu formdan tıklandığında inputtaki veriyi test sayfasında yazdırmak
public function test(){
$deviceOne = $_GET['device-one'];
$deviceTwo = $_GET['device-two'];
return view('/test');
}
yardımcı olur musunuz