mercredi 23 août 2017

add 3 different table column in laravel

I'm new to laravel, I got 3 tables, I want to retrieve value that is null.

$noarea = Membership::join('profiles', 'profiles.id', '=', 'member_history.profile_id') ->where('member_history.area_name', '')->get();

it shows the result value in laravel views, Now, I got 6 instances of above code from 3 different table column. How can I get the sum of all variable I made, ($noarea, $noproduct, etc)

thanks in advance.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vqUev2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire