hi im fairly new in laravel 4.2 so i have this table (table 1) which gets data from a related table (table 2) but table 2 also gets from another related table (table 3) here is a visualization
im using laravel 4.2 query builder for this here is my sample code on how im connecting table 1 and table 2
$records = DB::table('table1')
->join('table2', 'table1.someID', '=', 'table2.someID')
->select('select something')
->get();
my problem is i don't know how to get the values from table 3 is there a way for this? any help would be appreciated