I need an if to verify 2 values of the register and 2 of the bank, if both are equal should not occur the registration.
<div class="container-fluid">
<form action="adiciona" method="post" >
<div class="form-group has-success has-feedback">
<input type="hidden"
name="_token" value="{{{ csrf_token() }}}" />
<label>Solicitação:</label>
<select name="Cadastro_idCadastro" lass="js-data-example-ajax">
@foreach($cadastro as $c)
<option value="{{$c->idCadastro}}">{{$c->idCadastro}}</option>
@endforeach
</select><br></br>
<label>Usúario:</label>
<select name="users_id" lass="js-data-example-ajax">
@foreach($user as $c)
<option value="{{$c->id}}">{{$c->name}}</option>
@endforeach
</select><br></br>
<label>Aprovador:</label>
<select name="Aprovado_idaprovado" lass="js-data-example-ajax">
@foreach($aprovar as $c)
<option value="{{$c->idaprovado}}">{{$c->descaprovado}}</option>
@endforeach
</select><br></br>
<button type="submit" class="btn
btn-primary btn-block">Adicionar Aprovador</button>
</form>
public function adiciona()
{
Aprovadores::create(Request::all());
return redirect()->action('AprovadoresController@novo');
}