Ich mache eine Suche mit mehreren Eingaben und ich brauche Hilfe, weil ich nicht weiß, wie genau ich das tun kann Ich habe die gesamte Dokumentation gelesen und ich habe es nicht verstanden. Jetzt bin ich in der stecken Controller .....Laravel Multiple Inputs Suche 4.2
auch würde ich wirklich schätzen, wie die Informationen nennen, die ich möchte in der show.blade! Danke für jede Hilfe!
Index Klinge
<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...')) }}
Routen
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');
}
Benutzer-Tabelle
id, Vorname, last_name, etc etc etc
ich dies versuchen und –
Thax zu Ihnen zurück u Mann ja ich brauche nicht zwei Mal der Rückansicht :: macht es aus experimentieren^_^war, und ich habe es vergessen! –