Answers for "laravel, if ->get() array is not emtpy"

PHP
0

laravel, if ->get() array is not emtpy

$threadID = Thread::where( "pillamail", $to )->get();

//sellega kontrollid, kas ->get tagastas midagi laravelis
					if ( $threadID->count() > 0 ) {
                    
                    }
  }
Posted by: Guest on August-16-2021

Browse Popular Code Answers by Language