Birden fazla giriş arama sorgusu yapıyorum ve yardıma ihtiyacım var çünkü tam olarak bunu yapmamayı bilmiyorum çünkü tüm belgeleri okudum ve anlayamadım.Şimdi kontrolör .....Laravel Çoklu Girişler Arama 4.2
Ayrıca ben gerçekten ben show.blade in istediğiniz bilgileri aramak için nasıl takdir ediyorum! Herhangi bir yardım için teşekkür ederiz!
Endeksi bıçak
<div class="panel-body">
<div class="form-group">
<div><h4></h4></div>
<div class="form-group col-md-4">
{{ Form::open(array('action' => array('[email protected]'), 'class'=>'form width88', 'role'=>'search', 'method' => 'GET')) }}
<div id="prefetch">
{{ Form::text('name', null, array('class' => 'typeahead form-group form-control', 'placeholder' => 'name...')) }}
{{ Form::text('lastname', null, array('class' => 'form-group form-control', 'placeholder' => 'lastname...')) }}
{{-- {{ Form::text('id', null, array('class' => 'form-group form-control', 'placeholder' => 'id...')) }}
{{ Form::text('user-seminars', null, array('class' => 'form-group form-control', 'placeholder' => 'Class tha is enrolled...')) }}
{{ Form::text('user-class', null, array('class' => 'form-group form-control', 'placeholder' => 'Class that belongs...')) }}
{{ Form::text('user-annex', null, array('class' => 'form-group form-control', 'placeholder' => 'Department that belongs...')) }}
{{ Form::text('type', null, array('class' => 'form-group form-control', 'placeholder' => 'User type...')) }}
{{ Form::text('date_created', null, array('class' => 'form-group form-control', 'placeholder' => 'date created account...')) }}
{{ Form::text('date_enrolled', null, array('class' => 'form-group form-control', 'placeholder' => 'date enrolled in class...')) }}
yolları
Route::get('users/index', '[email protected]');
Route::get('users/search', '[email protected]');
Route::get('users/show', '[email protected]');
UserContoller
public function index(){
return View::make('user.index');
}
public function search(){
return View::make('user.show');
}
public function show(){
return View::make('user.show');
}
KULLANICILARI TABLO
id, ad, last_name, vs vs vs Neden dönüş View'dan
ben bu çalışacağı ve u adam evet ben :: iki defa dönüş görünümü gerek o^_^deneme oldu dont yapmak ve bunu unuttum sana geri –
Thax olsun! –