Create condition

0

I have this function where there are more than one form

$valorasociado = new RadicadosAsociado();
$valorasociado->RasRadicados = $id;
$valorasociado->RasRadcadoAsociado = $request['RasRadcadoAsociado'];
$valorasociado->save();

I want it to run on receiving a value if it does not pass to the other.  I know the concept of conditions if but until now I will implement it, I do not know how.

    
asked by Jhon Bernal 19.07.2018 в 21:34
source

0 answers