I need get if $proyects is empty
$proyects = Proyect::where( 'company_id', $company->id )->get();
if ($proyects == null) {
echo "empty";
} else {
dd($proyects);
}
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2GoMrZw
via IFTTT
Aucun commentaire:
Enregistrer un commentaire