2
I’m using the remote ->cont
to count the return number, and for that I put a condition using the ->WHERE
but when I try to put a ||
in the condition of the error he searched and I can not find the answer.
code that I’m using:
$numrow1=DB::table('teste')
->where('IdDesafiante','=',15 )
->count();
as I’ve tried:
$numrow1=DB::table('teste')
->where('IdDesafiante','=',15) ||
->where('IdDesafiante','=',16)
->count();
second way:
$numrow1=DB::table('teste')
->where('IdDesafiante','=',15 ||'IdDesafiante','=',16)
->count();